API Reference
Endpoint-level reference for the Hive API V2
The API Reference documents every endpoint’s parameters, request body, and responses. For concepts and usage guidance, see the guides.
Base URL
Authentication
Every request needs an OAuth 2.0 access token and your client ID:
See Authentication & Authorization to get a token and for the required scopes.
Conventions
- Brand-scoped: tokens are scoped to a single brand, so no brand identifier is passed in requests.
- Asynchronous writes: data push endpoints return
202 Acceptedand process in the background. Segment and custom event property management endpoints respond synchronously (200,201, or204). See How It Works. - Batches: up to 50 items and 1 MB per request, validated all-or-nothing.
- Pagination: list endpoints use
limitandoffset(default0), and returnoffset,limit,total_items, anditems. Defaults differ by endpoint: segment users default to500, campaign lists to50; both allow0–500. Out-of-range values return422 Unprocessable Entity. - Optional fields: omit an optional field rather than sending
null; an explicitnullis rejected. Unknown fields are ignored. - Timestamps: ISO 8601 (for example,
2026-02-10T14:30:00Z). Include a UTC offset when sending datetimes. - IDs: treat all IDs as opaque strings.
- Health check:
GET /ping/requires no authentication and returns{"status": "ok"}. - Errors: see Errors & Status Codes.