User API Documentation¶
- API Endpoint
- Errors
- Team API
- Authentication API
- User API
- Billing API
- Memberships API
- Tiers API
- Creators API
- Missions API
- Shop Items API
- Events API
- Transactions API
- Notifications API
- Gifts API
API Endpoint¶
The API is located at the following URL. You should replace :team
with your team’s name in your Botisimo account:
https://botisimo.com/api/v1/loyalty/:team
Authenticating Requests¶
Authenticated requests should include the token
received from Authentication API as a header on the request x-user-auth-token
const response = await axios.get('https://botisimo.com/api/v1/loyalty/:team/mission/list', {
headers: {
'x-user-auth-token': 'xxxxxxx',
},
});
Fetching Media Resources¶
Some objects have a resourceId
that correlates to a media file in S3. You can fetch any resource by using the resourceId
:
https://s3.amazonaws.com/prod.botisimo.com/resource/:resourceId
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"
}