Group a contact into a company
/groupSegment-style: upserts the company by group_id (its external id) with traits and attaches the contact.
Authorization
apiKey A project API key: Authorization: Bearer s0_…
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/group" \ -H "Content-Type: application/json" \ -d '{ "group_id": "string" }'{ "object": "group", "company_id": "string", "contact_id": "string"}Remove a contact from a company DELETE
Previous Page
Track a custom event POST
Records a named event for a contact (`contact_id` or `email`; an unknown email creates the contact unless `create_contact` is false). `properties` (or Resend's `payload`) become merge variables of the sequence it starts. An `idempotency_key` (or `Idempotency-Key` header) makes a retry return the first event; the same key with a different event is a 409 `invalid_idempotent_request`.