The {auth} placeholder
Overview
{auth}
Either:
- The user's API Key can be provided within the request's
Authorizationheader as aBearertoken.
Example:Authorization: Bearer 27c03f58-7c79-45d1-aa8f-76d697bbb10d - The user's username and password can be provided within the request's
Authorizationheader using aBasicauthentication string, which is a base64-encoded string containingusername:password.
Example:Authorization: Basic am9obi5zbWl0aDpqb2huMTIz - Request parameters
uandpfor username and password, orapiKeyfor the user's API Key.
Examples:u=john.smith&p=john123ORapiKey=27c03f58-7c79-45d1-aa8f-76d697bbb10d - Authentication can also be provided in body in JSON format for POST requests only.
Examples:"authentication": {
"username": "john.smith",
"password": "john123"
}
"authentication": {
"apiKey": "27c03f58-7c79-45d1-aa8f-76d697bbb10d"
}