Skip to main content
All secured endpoints use a bearer token in the Authorization header:

Generate a token

1

Open the API tab

In the CPaaS+ portal, go to the API tab in the left toolbar.
2

Add a token

Click Add new Token (top right), enter a token name and click Save.
3

Copy and store it

Your new token is shown once. Copy it and store it securely, because it will not be shown again.

Optional extra security

The portal offers additional configuration for an added layer of security:

Building a request

Every API call needs these components: Example endpoint: https://api.yourcpaas.com/api/sms/send-msg
Treat the token like a password. Never embed it in mobile apps, browser code or public repositories. A 401 means the token is missing or invalid, and a 403 means the request came from a restricted IP address.