To authenticate to our API, you need an API key. You can create and view this key in your login in the Developer section. You can learn more about this in our help article.
HTTP Basic Auth
Use HTTP Basic Auth with your API key. The API key is sent directly as a header, no further Base64 encoding is required. Authorization: basic YOUR_API_KEY
Example
curl https://gateway.sms77.io/api/endpoint \
-H 'Authorization: basic YOUR_API_KEY'
Authentication in HTTP header
Send your API request with the X-Api-Key
header X-Api-Key: YOUR_API_KEY
Example
curl https://gateway.sms77.io/api/endpoint \
-H 'X-Api-Key: YOUR_API_KEY'
Deprecated: Authentication via GET/POST parameter or user/password
As an alternative to the above methods, we still support authentication via API key as GET
or POST
parameter. Especially the transmission via GET
is not considered secure and should therefore not be used. For compatibility reasons, the outdated user/password authentication is still possible. This is strongly discouraged.