Twenty
Open-source CRM: people, companies, opportunities and tasks
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
- Twenty URLOptionalHTTPS URL
Where to find them
- In Twenty open “Settings” → “Developers” → “API” and click “+ Create key”.
- Give it a name and an expiry; to limit what it can see, assign it a role in “Settings” → “Members” → “Roles”.
- Copy the key: it is shown only once. With Twenty Cloud leave the default URL; with a self-hosted installation, enter its URL.
Tools (2)
Twenty API request
TWENTY_SEND_REQUESTAuthenticated call to the Twenty API ({url}). Any endpoint of the API is allowed. The API is generated from your workspace's schema (custom objects also get a path). Examples: GET /rest/people?limit=20, GET /rest/companies?limit=20, GET /rest/opportunities, POST /rest/people {"name": {"firstName": "Jane", "lastName": "Doe"}}, GET /rest/metadata/objects (schema), and GraphQL with TWENTY_SEND_GRAPHQL_REQUEST.
Required scopes
No scopes required
Input
Twenty API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Twenty GraphQL request
TWENTY_SEND_GRAPHQL_REQUESTRuns a GraphQL query or mutation against the Twenty API and returns its data and errors.
Required scopes
No scopes required
Input
Twenty GraphQL request input Name Type Description queryrequiredstringGraphQL query or mutation variablesobjectGraphQL variables

