Skip to page content

Authentication

Use your API key to authenticate requests to https://api.quantumtec.eu/v1.

Get your key

Get your API key from the Customer Portal or your account manager. Store it on your server; do not include it in browser code or public repositories.

POST requests

Put request parameters in a JSON body and your API key in the X-ApiKey header.

POST requests
ParameterDescription
X-ApiKeyheaderrequiredYour API v1 key.
Content-Typeheaderrequiredapplication/json
Acceptheaderrequiredapplication/json
cURL · POST
curl --request POST 'https://api.quantumtec.eu/v1/sms/report' \
  --header 'X-ApiKey: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --data '{
  "messageId": "19905880-9404-4686-a8af-54af8888b96d"
}'

GET requests

GET methods pass X-ApiKey and other parameters in the URL query string. URL-encode each value. Use POST for sending and delivery reports when you need to keep the key out of the URL.

cURL · GET
curl --get 'https://api.quantumtec.eu/v1/sms/report' \
  --header 'Accept: application/json' \
  --data-urlencode 'X-ApiKey=YOUR_API_KEY' \
  --data-urlencode 'messageId=19905880-9404-4686-a8af-54af8888b96d'