Quickstart
This guide walks through a minimal contact lifecycle. It uses the real Public API v2 route shape:1. Check access
The health endpoint does not require authentication and confirms that Public API v2 is mounted.2. Authenticate
Send your API key as a bearer token.X-Api-Key: <your-api-key> is also accepted for compatibility.
3. Create a contact
Create requests use anattributes object. For simple fields, send raw values.
data envelope. Field values are self-describing:
4. Find records with _query
Use POST /api/v2/<record_type>/_query for filtering, sorting, and cursor pagination.
next_cursor, send it in the next _query request. Treat cursors as opaque strings.
5. Update the record
Patch requests are partial. Omitted fields are left unchanged.null only when you intend to clear a nullable field.
6. Archive the record
Delete endpoints archive records and return204 No Content.
Next steps
- Use Supported Resources to see which actions each record type supports.
- Use Create and Update Records for write semantics and
_assert. - Use Query Records for Sync for incremental sync patterns.