0. Authorization
To make requests to the API, you'll need an account and an API token. A 'default' API token will be created for you automatically when you sign up, and it can't be deleted.
DreamboothAPI uses the standard Bearer
method of authorizing API requests and identifying the user who made the request.
Authorization header
Every request you make to the API must include a header with the key of Authorization
and the value of Bearer DREAMBOOTHAPI_TOKEN
.
{
"headers": {
"Authorization": "Bearer abcdefghijklmnopqrstuvwxyz"
}
}
You can find your API tokens in the dashboard here.