Skip to content
Hexel StudioDocs

Initiate OAuth connection

POST/titan/tools/connections/initiate

Start the OAuth browser flow for an auth config. Requires permission tool-gateway:auth:write.

Headers

Bearer <token>. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

X-Workspace-Idoptional string

Workspace scope used by permission checks, if applicable.

X-Environment-Idoptional string

Optional environment scope.

Body parameters

attributesoptional map[string]

Attributes are the connection attributes (subdomain, site, region) an auth config's templated auth_url and token_url need, e.g. {"subdomain": "acme"} for https://{conn.subdomain}.zendesk.com.

environment_idoptional string

Returns

200OKOAuthInitiateResponse

authorization_urloptional string
stateoptional string

Errors

  • 400Bad Request
  • 401Unauthenticated: token missing or rejected at the edge
  • 403Forbidden: caller lacks the required permission