API Authentication

API Token Authentication

Our REST APIs support token authentication. Only an account administrator can access or generate API key tokens.

Here's a sample curl request that is authenticated using the API key token.

curl -H "Content-type: application/json" -H "Authorization: Token token=E7px6VVr3PVHZPJq51oa" -X GET -G \
    --data-urlencode "since=2011-06-01" \
    --data-urlencode "until=2011-06-20" \
    "https://acme.pagerduty.com/api/v1/schedules/P4MHU96/entries"

Important!

All API requests must be made over HTTPS.Calls made over plain HTTP will be redirected to HTTPS.

Discuss

Having trouble with authentication? Let's chat.