Authentication

Basic Authentication

Many of Deliveroo's APIs require the use of HTTP Basic Authentication. To make a successful request to an API that requires Basic Authentication, include the Authorization header as follows:

Authorization: Basic {Credential}

Where {Credential} is the base 64 encoding of the username and password separated by a colon.

base64(username + ":" + api_token)

Warning! When using Basic authentication, your API token is being sent to the server, and therefore this should be considered safe only over HTTPS.

Test Credentials

In order to use your test credentials, follow the same process outlined above, but use your test API key as the username and your test API secret as the password.

To verify you are using your test credentials correctly, you can send a request to the Credential Verification endpoint. In case of test credentials, it will respond with test_mode set to true.


Did this page help you?