Skip to main content

CompleteOAuth exchanges authorization code for tokens.

POST 

/api/v1/ticketing/integrations/:integrationId/oauth/callback

Call this from your redirect_uri handler with the code and state parameters received from the OAuth provider.

Errors

  • NOT_FOUND: Integration does not exist
  • INVALID_ARGUMENT: Invalid code or state
  • UNAUTHENTICATED: OAuth flow failed
  • PERMISSION_DENIED: Caller lacks integration:admin permission

Request

Responses

A successful response.