Skip to main content

createAPIClient

Create a new API client for an organization. Returns client_id and client_secret (one-time display). The API client can authenticate using OAuth2 client_credentials flow.

createAPIClient(
organizationId: String!
input: CreateAPIClientPayload!
): CreateAPIClientResponse!

Arguments

createAPIClient.organizationId ● String! non-null scalar

createAPIClient.input ● CreateAPIClientPayload! non-null input

Type

CreateAPIClientResponse object

Response from creating an API client. Contains the client_secret which is shown only once.