Authorization
header with your apiKey and an x-phone
header with your phone number.
API Key 🔑
To authenticate you need to add an Authorization header with the contents of the header beingBearer <token>
where <token>
is your API Key.
1
Login to your account
To generate an API key for your zap, you must have a periskope account. If
you don’t have one, you can sign up for a free trial
here.
2
Generate API Key
Navigate to the API section and click on ‘Generate API Key’ or click to
visit here. API key can only
be revealed once, so please keep this API key safe and at a secure place.

API settings
x-phone header
Thex-phone
header is used to direct the request to the correct phone.
e.g. if you want to send a message to a number, the x-phone header specifies which phone must be used to send the message
The x-phone header must be a valid phone number with country code and without any special characters e.g. 919876512340