Saylidocs
Download

Personal access tokens

Tokens you create, scope, and revoke, for the API and your own AI tools.


A personal access token is how your own code and your own AI tools talk to Sayli. It authenticates the Sayli API and the inbound MCP server. Every token starts with the prefix sayli_pat_, so it is easy to spot in a log and easy to rotate.

Create one

1
Open Developer settings

Go to Settings, then Developer. This is where your tokens live.

2
Generate a token

Create a new token and give it a name you will recognize later, like "laptop CLI" or "n8n workflow". Copy it now. You will not see it again.

Use it

Send the token as a Bearer token in the Authorization header. Meetings live inside an organization, so list your organizations first, then use an org id to read its meetings.

bash
# Who am I in? Grab an org id from the response.
curl https://api.sayli.ai/api/v1/orgs/ \
  -H "Authorization: Bearer sayli_pat_your_token_here"
 
# List that org's meetings.
curl https://api.sayli.ai/api/v1/orgs/{org_id}/meetings/ \
  -H "Authorization: Bearer sayli_pat_your_token_here"

Revoke it

If a token leaks or a laptop walks off, revoke it from the same Developer panel. The token stops working at once, and nothing else you own is affected.

Treat it like a password

A token can read your meetings. Do not paste it into a shared doc or commit it to a repo. Rotate it if you are unsure.