For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create company client secret

GraphQL endpoint: /user

Creates API credentials (client ID and secret) for a company, which can be used to authenticate as the company and access the Company API. Requires an admin-level connection (ADMIN, OWNER, EXTERNAL_ADMIN) with the company. An optional description helps manage multiple secrets. The clientSecret is only shown once at creation time — store it securely.

Query

mutation (
  $companyId: ID!
  $description: String
) {
  createCompanyClientSecret (
    companyId: $companyId
    description: $description
  ) {
    clientId
    clientSecret
    description
  }
}

Variables

Response

Last updated