All guides

Choose what an API key may do

When you make a key in Settings › Developers › API keys, pick what it may do: everything, read only, a ready-made choice, or a level for each part of cuil.si. A call outside the key's permissions is refused with `403 scope_missing`, and the error names the permission it needs, such as `leads:read`. Outside AI assistants connected with the key follow the same rule. Keys made before permissions existed keep working as they always did.
  1. 1Pick a ready-made choice

    Full access can do everything your role allows. Read only looks at everything and changes nothing. Website forms only adds leads and records sales: it can't read anyone, and its answers carry only the new lead's id. Reporting reads results and credits. Zapier and Make gives the cuil.si app on those sites what it needs.

  2. 2Or choose for each area

    Each area (Leads, Social posts, Library, Results and so on) can be No access, Read, or Read and change. Leads also has Add only, and Social posts has Read, change and publish: scheduling or publishing a post needs social:publish. Webhooks follow the other areas: a key can subscribe to an event, or change an endpoint that gets it, only if it may read that event's area (lead.created needs Leads: Read), and the webhook log shows an event's details only to such a key. Every operation in the reference shows the permission it needs.

  3. 3See how each key is used

    Press the chart button next to a key to see its requests, errors and credits for each of the last 30 days, and its last 5 errors with their request ids. We keep only counts and those 5 errors, never what was sent.