Testing with Swagger
Open Swagger API Reference. Its server origin follows the documentation environment.
Application requests
- Create an application key in Console with the required scopes.
- Click Authorize and paste the raw key into applicationApiKey.
- Do not include the
Bearerprefix; Swagger adds it. - Try
GET /v1/accountswithaccounts:manage. - Follow the Quickstart to upsert an account and send a message.
Authorize does not create an API key. If you lost the secret, create a replacement; Swagger cannot reveal it.
User requests
- Authorize an application key containing
users:token_issue. - Call
POST /v1/user-tokenswith a real account key and stable recipient ID. - Copy the returned
access_token. - Paste it into Authorize → userToken.
- Try the User Inbox, User Realtime, or User Web Push operations.
Swagger can request a user token because it is calling an authorized API. In a real product, your backend must derive the account and recipient from the signed-in session.
Platform requests
Only authorized platform operators should fill platformAdminKey. This key can provision tenants, applications, and application credentials through the Admin API. An ordinary integrator does not need it.
Console login uses its own session and is separate from the integration API. Logging in to Console does not fill the Swagger application-key field.
Safe test data
Use dedicated staging accounts and recipients. Authorization is not persisted after reload, but an authorized Swagger page still holds the secret in browser memory for that session. Provider tests can send real messages; inspect the operation's request schema before executing it.