Admin API Documentation¶
Authenticating Requests¶
Authenticated requests should include a Client ID
generated from your Botisimo account profile as a header on the request client-id
const response = await axios.post('https://botisimo.com/api/v1/loyalty/admin/user/1/points', { ... }, {
headers: {
'client-id': 'xxxxx-xxxxx-xxxxx-xxxxx',
},
});
Errors¶
Any errors will be returned with a non-2XX status code.
Response
Field | Type | Description |
---|---|---|
message | string | The message describing the error |
Example
{
message: "An error has occurred"
}