Skip to main content
WG Messaging Guides

Authentication

Use a workspace-scoped partner key for /partner/v1. Partner keys use the pt_live_ or pt_test_ prefix.

The specification supports a bearer token in the Authorization header or the partner-key header shown in each operation's security scheme.

Authorization: Bearer <YOUR_PARTNER_KEY>

Keep credentials on your serverโ€‹

Call the API from your backend. Do not embed partner or management credentials in browser applications. Do not share real credentials in screenshots, examples, or documentation.

Management operationsโ€‹

Routes under /management/v1 require a separate management credential issued by the platform team, with an mgmt_live_ or mgmt_test_ prefix. A partner key is not a replacement for this credential.

Scopesโ€‹

Each operation lists its required scopes. For example, listing connections requires connections:read, while queueing a message requires messages:write. Use the API reference to check the required permission and documented error responses for the operation you are calling.