Endpoint
Whoami
GET/api/public/v1/whoamiread
Return which SayIntel login this connection is signed in as (user id and email), the granted scopes, the account's clients (id and name), and every workspace this login can see (its own account plus any account it is a teammate on, with role). If a campaign you expect is missing, check here first: this connection speaks for exactly this one login. On an account with clients, create_campaign needs one of those ids as client_id, or own_company: true. To read another account, see list_workspaces.
Request
curl "https://sayintel.com/api/public/v1/whoami" \ -H "Authorization: Bearer $SAYINTEL_TOKEN"
Try it out
Try it outGET/api/public/v1/whoamiread
Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.
Paste an API key to run.
Query parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| workspace | query | string | no | Not accepted on this tool: it acts on your own account, and naming another workspace is refused. |
| acting_account | query | string | no | Which sayintel login this call acts on: an account_id or email from list_accounts. Required once logins are linked to this connection. |
Response
{
"ok": true,
"tool": "whoami",
"kind": "read",
"data": { ... },
"error": null
}Notes
- Scope required: read. How scopes work.
- Same capability over MCP as the tool whoami. MCP setup.