Objects
ObjectsContacts
Create object
List records of an object type
Get object
Patch object
Delete object
Query
Total record count for an object type
Find a record by property value
Upsert by property value
Import objects
Bulk update records (partial success)
Bulk delete records (partial success)
Duplicate object
Restore object
ModelsExpand Collapse
ContactQueryResponse object { data, has_more, next_cursor, total }
Accurate end-of-data signal. False when this page contains the last record; true only when at least one more record exists. (Implementation note: the server fetches one extra row internally to determine this — clients never need to overshoot to discover the end.)
Opaque cursor pointing at the next page. Pass it back unchanged. Do not parse it. The current encoding is offset-based (page + limit), so it has the same concurrent-write drift the deprecated page parameter has; treat it as a black box so a future keyset cursor is a drop-in. Null when has_more is false.
ContactBulkCreateResponse object { job_id, status, total, 8 more } Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
ObjectsOrganizations
Create object
List records of an object type
Get object
Patch object
Delete object
Query
Total record count for an object type
Find a record by property value
Upsert by property value
Import objects
Bulk update records (partial success)
Bulk delete records (partial success)
Duplicate object
Restore object
ModelsExpand Collapse
OrganizationQueryResponse object { data, has_more, next_cursor, total }
Accurate end-of-data signal. False when this page contains the last record; true only when at least one more record exists. (Implementation note: the server fetches one extra row internally to determine this — clients never need to overshoot to discover the end.)
Opaque cursor pointing at the next page. Pass it back unchanged. Do not parse it. The current encoding is offset-based (page + limit), so it has the same concurrent-write drift the deprecated page parameter has; treat it as a black box so a future keyset cursor is a drop-in. Null when has_more is false.
OrganizationBulkCreateResponse object { job_id, status, total, 8 more } Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
ObjectsIdentities
Create object
List records of an object type
Get object
Patch object
Delete object
Query
Total record count for an object type
Find a record by property value
Upsert by property value
Import objects
Bulk update records (partial success)
Bulk delete records (partial success)
Duplicate object
Restore object
ModelsExpand Collapse
IdentityQueryResponse object { data, has_more, next_cursor, total }
Accurate end-of-data signal. False when this page contains the last record; true only when at least one more record exists. (Implementation note: the server fetches one extra row internally to determine this — clients never need to overshoot to discover the end.)
Opaque cursor pointing at the next page. Pass it back unchanged. Do not parse it. The current encoding is offset-based (page + limit), so it has the same concurrent-write drift the deprecated page parameter has; treat it as a black box so a future keyset cursor is a drop-in. Null when has_more is false.
IdentityBulkCreateResponse object { job_id, status, total, 8 more } Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
ObjectsDeals
Create object
List records of an object type
Get object
Patch object
Delete object
Query
Total record count for an object type
Find a record by property value
Upsert by property value
Import objects
Bulk update records (partial success)
Bulk delete records (partial success)
Duplicate object
Restore object
ModelsExpand Collapse
DealQueryResponse object { data, has_more, next_cursor, total }
Accurate end-of-data signal. False when this page contains the last record; true only when at least one more record exists. (Implementation note: the server fetches one extra row internally to determine this — clients never need to overshoot to discover the end.)
Opaque cursor pointing at the next page. Pass it back unchanged. Do not parse it. The current encoding is offset-based (page + limit), so it has the same concurrent-write drift the deprecated page parameter has; treat it as a black box so a future keyset cursor is a drop-in. Null when has_more is false.
DealBulkCreateResponse object { job_id, status, total, 8 more } Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
ObjectsDealsGrant
Get grant
Update grant
ModelsExpand Collapse
GrantGetResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
GrantUpdateResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
ObjectsActions
Create object
List records of an object type
Get object
Patch object
Delete object
Query
Total record count for an object type
Find a record by property value
Upsert by property value
Import objects
Bulk update records (partial success)
Bulk delete records (partial success)
Duplicate object
Restore object
ModelsExpand Collapse
ActionQueryResponse object { data, has_more, next_cursor, total }
Accurate end-of-data signal. False when this page contains the last record; true only when at least one more record exists. (Implementation note: the server fetches one extra row internally to determine this — clients never need to overshoot to discover the end.)
Opaque cursor pointing at the next page. Pass it back unchanged. Do not parse it. The current encoding is offset-based (page + limit), so it has the same concurrent-write drift the deprecated page parameter has; treat it as a black box so a future keyset cursor is a drop-in. Null when has_more is false.
ActionBulkCreateResponse object { job_id, status, total, 8 more } Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
ObjectsActionsGrant
Get grant
Update grant
ModelsExpand Collapse
GrantGetResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
GrantUpdateResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
ObjectsDocuments
Create object
List records of an object type
Get object
Patch object
Delete object
Query
Total record count for an object type
Find a record by property value
Upsert by property value
Import objects
Bulk update records (partial success)
Bulk delete records (partial success)
Duplicate object
Restore object
ModelsExpand Collapse
DocumentQueryResponse object { data, has_more, next_cursor, total }
Accurate end-of-data signal. False when this page contains the last record; true only when at least one more record exists. (Implementation note: the server fetches one extra row internally to determine this — clients never need to overshoot to discover the end.)
Opaque cursor pointing at the next page. Pass it back unchanged. Do not parse it. The current encoding is offset-based (page + limit), so it has the same concurrent-write drift the deprecated page parameter has; treat it as a black box so a future keyset cursor is a drop-in. Null when has_more is false.
DocumentBulkCreateResponse object { job_id, status, total, 8 more } Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
ObjectsDocumentsGrant
Get grant
Update grant
ModelsExpand Collapse
GrantGetResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
GrantUpdateResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
ObjectsEvents
Create object
List records of an object type
Get object
Patch object
Delete object
Query
Total record count for an object type
Find a record by property value
Upsert by property value
Duplicate object
Restore object
ModelsExpand Collapse
EventQueryResponse object { data, has_more, next_cursor, total }
Accurate end-of-data signal. False when this page contains the last record; true only when at least one more record exists. (Implementation note: the server fetches one extra row internally to determine this — clients never need to overshoot to discover the end.)
Opaque cursor pointing at the next page. Pass it back unchanged. Do not parse it. The current encoding is offset-based (page + limit), so it has the same concurrent-write drift the deprecated page parameter has; treat it as a black box so a future keyset cursor is a drop-in. Null when has_more is false.
ObjectsEventsGrant
Get grant
Update grant
ModelsExpand Collapse
GrantGetResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
GrantUpdateResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
ObjectsEngagements
Create object
List records of an object type
Get object
Patch object
Delete object
Query
Total record count for an object type
Find a record by property value
Upsert by property value
Import objects
Bulk update records (partial success)
Bulk delete records (partial success)
Duplicate object
Restore object
ModelsExpand Collapse
EngagementQueryResponse object { data, has_more, next_cursor, total }
Accurate end-of-data signal. False when this page contains the last record; true only when at least one more record exists. (Implementation note: the server fetches one extra row internally to determine this — clients never need to overshoot to discover the end.)
Opaque cursor pointing at the next page. Pass it back unchanged. Do not parse it. The current encoding is offset-based (page + limit), so it has the same concurrent-write drift the deprecated page parameter has; treat it as a black box so a future keyset cursor is a drop-in. Null when has_more is false.
EngagementBulkCreateResponse object { job_id, status, total, 8 more } Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
Status snapshot of an import job. Same shape used by the POST /import response and by GET /imports/{jobId}.
ObjectsEngagementsGrant
Get grant
Update grant
ModelsExpand Collapse
GrantGetResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
GrantUpdateResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
ObjectsMessages
ObjectsMessagesGrant
Get grant
Update grant
ModelsExpand Collapse
GrantGetResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
GrantUpdateResponse object { contact_ids, group_id, identity_ids, 4 more } The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
The grants on a record. For message, also carries the entity ids of everyone on the message, resolved from its address headers when the grant was written. The id arrays are read-only and are null when participant resolution was unavailable (for example the mailbox had no Gmail token at the time).
share_level: optional "metadata" or "full"How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.
How much of the record the grant exposes. metadata shares only the record’s headers and participants; full shares its contents. Currently recorded on the access row and returned on read — it is not yet enforced by the read path. Applies to message grants; ignored for other object types.