Resources
Resource types describe the objects you create, read, update, and delete — a User, a Contact, and so on. Single-resource endpoints return the resource object directly, with no wrapper.Envelopes
Envelope types describe the structures that wrap or accompany resources:- Pagination — the envelope every list endpoint returns, with the current page of records in
data. - Error — the body of a generic error response.
- Validation error — the
422response body, with anerrorsobject naming each invalid field.
Reading a definition
- Fields marked nullable return
nullwhen no value is set. - Date fields are strings in
YYYY-MM-DDformat; timestamp fields are strings inYYYY-MM-DD HH:MM:SSformat. - Fields only present when requested via
includeorappendare noted on the endpoint pages that support them — see Relationships.