T
Twenty GraphQL API
Details
- Endpoint
-
https://{your-workspace-url}/graphql - Docs
- https://docs.twenty.com/developers/extend/api
Authentication
Twenty API key
Authorization: Bearer <credential> + Twenty OAuth client credentials discovered In your Twenty workspace, go to APIs / Settings → API & Webhooks (the MCP guide also refers to Settings → MCP & APIs → API) and click + Create key. Copy the key immediately because it is shown once. You can scope the key by assigning it to a role under Settings → Members → Roles → Assignment tab.
Twenty uses per-workspace OAuth with dynamic client registration, so you do not create an app in a dashboard. Register your client programmatically against your workspace by POSTing to https://{your-workspace-url}/oauth/register as shown in the OAuth guide. Store the returned client_id and client_secret securely; they are then used for authorization-code or client-credentials token requests.
Authorization: Bearer <credential>