Introduction
Welcome to the Journeybee API documentation.
The Journeybee API allows you to access and manage your account data programmatically.
You can use our API to create, read, update, and delete resources such as users, partners, and leads.
If you have any question or feedback please contact us at support@journeybee.io
Authentication
All API endpoints are authenticated using Bearer tokens.
To create an api key, visit your Journeybee account settings and click on the API Keys tab.
You can create multiple keys and revoke them at any time.
Permissions
API keys can be assigned basic read or write permissions.
Read permissions allow you to access data, while write permissions allow you to create, update, and delete data.
Pagination
All list endpoints support pagination.
You can specify the page number and page size using the page
and pageSize
query parameters.\
Default page size is 10.
Maximum page size is 50.
Example response
Rate Limiting
API requests are rate limited to prevent abuse.
If you exceed the rate limit, you will receive a 429 Too Many Requests
response.
The rate limit is 100 requests per minute.
Versioning
API endpoints are versioned using the v1
prefix.
For example, the users
endpoint is available at /v1/users
.
When we make backwards-incompatible changes to the API, we will release a new version.
Errors
Errors are returned as JSON objects with an error
key.
The value of the error
key is a human-readable error message.
Example error response
Status Codes
The API uses standard HTTP status codes to indicate the success or failure of a request.
Here are our most used status codes:
200 OK
- The request was successful201 Created
- The resource was created400 Bad Request
- The request was invalid401 Unauthorized
- The request was not authenticated403 Forbidden
- The request was not authorized404 Not Found
- The resource was not found429 Too Many Requests
- The request was rate limited500 Internal Server Error
- An unexpected error occurred
Content Types
The API only supports JSON content type.
You must include the Content-Type: application/json
header in your requests.