Authentication
Send your API key as a bearer token on every request:
GET /external/v0/me
Authorization: Bearer dsk_test_k7Hq2xVb_9fJ2mQ8rT4wZp1LxN6cV3bY7hK0sD5gA2eR8uW
- Format:
dsk_<environment>_<key id>_<secret>.testkeys work in the sandbox (https://api.sandbox.delisky.com);livekeys are for the live system later. - DeliSky creates keys for you and shows the full key once. DeliSky stores only a hash of the key, so a lost key is replaced, not recovered.
- Several keys at a time are possible. To rotate without downtime, ask for a new key, switch your system to it, then have the old one revoked.
- A missing, revoked, expired or wrong-environment key returns
401. - Rate limit: a fixed number of requests per minute per partner, whichever key is used. Above it you get
429with aRetry-Afterheader (seconds). - Never put the key in a URL, a log or a browser. It is a server-to-server credential.
Later versions will also accept OAuth client-credential tokens in the same header; how you send them won't change.