Strise Connect API Docs
Mutations

clientAccessTokenGenerate

Generate a new access token for a client, which can be used to authenticate with the API through a 'Authorization: Bearer <token>' header.

mutation ClientAccessTokenGenerate($clientId: String!, $clientSecret: String!) {
  clientAccessTokenGenerate(clientId: $clientId, clientSecret: $clientSecret) {
    expires
    token
  }
}

Arguments

clientId String! non-null scalar

String!

clientSecret String! non-null scalar

String!

Type

AccessToken object

AccessToken An access token used to communicate with the Strise.ai APIs.

Response Fields

expires Int! non-null scalar

Int! The timestamp representing when the token is expiring. This is seconds since epoch.

token String! non-null scalar

String! The access token as a JWT.

On this page