API
General information about the API.
The MobilizeHub API uses HTTP RPC-style methods and generally follow the schema:
HTTP Methods
The API supports the following HTTP methods:
- GET: Retrieve data from the API.
- POST: Send data to the API to create or update a resource.
- DELETE: Remove a resource using the API.
All methods are idempotent, meaning that making the same request multiple times will have the same effect as making it once.
Get
GET methods are used for reading data. Filtering, sorting, or pagination is done via query parameters.
Post
and Delete
POST methods are used for creating and updating deleting data, while DELETE methods are used for removing data. Data is passed as application/json in the request body.
Authentication
Authentication is performed using HTTP Bearer authentication in the Authorization header:
Example request:
If your authentication fails, you’ll receive a 401 Unauthorized or 403 Forbidden response with an error message:
Rate limit
The default maximum rate limit is 10 requests per second. After that, you’ll hit the rate limit and receive a 429 response error code with an error message: