Complete REST API documentation for the GetPartyOps platform.
The API supports three authentication methods. Choose the one that fits your integration.
Generate an API key from Settings → API Keys in your dashboard. Pass it in the X-API-Key header.
curl -H "X-API-Key: tk_your_api_key" \ https://bh-saas-django-api.fly.dev/api/rental-items/
Exchange your credentials for a JWT access token. Include it in the Authorization header as a Bearer token.
curl -X POST https://bh-saas-django-api.fly.dev/api/token/ \
-H "Content-Type: application/json" \
-d '{"username":"user","password":"pass"}'Cookie-based session auth is used by the admin panel and browsable API. Log in through the web interface and session cookies are handled automatically.
All list endpoints return a Payload-compatible paginated response format.
{
"docs": [...],
"totalDocs": 100,
"limit": 10,
"totalPages": 10,
"page": 1,
"hasNextPage": true,
"hasPrevPage": false
}docsArray of resource objectstotalDocsTotal matching documentslimitResults per pagetotalPagesTotal number of pagespageCurrent page numberhasNextPageWhether more pages existhasPrevPageWhether previous pages existCore resources available through the API.
| Endpoint | Method | Description |
|---|---|---|
/api/rental-items/ | GETPOST | Manage rental inventory |
/api/bookings/ | GETPOST | Create and manage bookings |
/api/customers/ | GETPOST | Customer management |
/api/categories/ | GETPOST | Item categories |
/api/invoices/ | GETPOST | Invoice management |
/api/documents/ | GETPOST | Terms and contracts |
/api/media/ | GETPOST | File uploads |
/api/webhooks/ | GETPOST | Webhook configuration |
Use query parameters to paginate, sort, and filter results on any list endpoint.
Control page size with limit and navigate with page.
GET /api/rental-items/?limit=10&page=2
Sort by any field. Prefix with - for descending order.
GET /api/rental-items/?sort=name GET /api/bookings/?sort=-created_at
Filter results using the where query syntax. Supports operators like equals, not_equals, greater_than, and more.
GET /api/bookings/?where[status][equals]=active GET /api/rental-items/?where[price][greater_than]=100
Dive into the complete interactive documentation.