Contacts

Manage contacts within workspaces

List contacts

get

Returns contacts from workspaces the user has access to.

Authorizations
AuthorizationstringRequired

All API requests require a Bearer token in the Authorization header. Contact the Zero team to obtain your API token.

Query parameters
workspaceIdstring · uuidOptional

Filter by workspace ID

fieldsstringOptional

Comma-separated list of fields to return. Defaults to all fields.

Example: id,name,domain
wherestringOptional

JSON string with filter conditions

Example: {"workspaceId":"workspace-uuid"}
limitintegerOptional

Maximum number of records to return

Default: 100
offsetintegerOptional

Pagination offset

Default: 0
orderBystringOptional

JSON string for sort order

Example: {"name":"asc"}
Responses
chevron-right
200

Successful response

application/json
get
/api/contacts

Create a contact

post

Create a new contact in a workspace.

Note: If companyId is not provided but email or linkedin is, the system will automatically find or create the associated company.

Authorizations
AuthorizationstringRequired

All API requests require a Bearer token in the Authorization header. Contact the Zero team to obtain your API token.

Body
workspaceIdstring · uuidRequired
companyIdstring · uuidOptional

If not provided but email or linkedin is given, the system will automatically find or create the associated company.

namestringOptional
emailstring · emailOptional
titlestringOptional
phonestringOptional
linkedinstringOptional
avatarstring · uriOptional
locationstringOptional
typestringOptional
customobjectOptional
listIdsstring · uuid[]Optional
ownerIdsstring · uuid[]Optional
externalIdstringOptional
sourcestringOptional
Responses
chevron-right
200

Contact created successfully

application/json
post
/api/contacts

Delete a contact

delete

Delete a contact. Use archive=true for soft delete.

Authorizations
AuthorizationstringRequired

All API requests require a Bearer token in the Authorization header. Contact the Zero team to obtain your API token.

Path parameters
contactIdstring · uuidRequired
Query parameters
archivebooleanOptional

If true, soft deletes (archives) the contact instead of permanently deleting it.

Default: false
Responses
chevron-right
200

Contact deleted successfully

No content

delete
/api/contacts/{contactId}

No content

Update a contact

patch

Update an existing contact.

Authorizations
AuthorizationstringRequired

All API requests require a Bearer token in the Authorization header. Contact the Zero team to obtain your API token.

Path parameters
contactIdstring · uuidRequired
Body
companyIdstring · uuidOptional
namestringOptional
emailstring · emailOptional
titlestringOptional
phonestringOptional
linkedinstringOptional
avatarstring · uriOptional
locationstringOptional
typestringOptional
customobjectOptional
listIdsstring · uuid[]Optional
ownerIdsstring · uuid[]Optional
externalIdstringOptional
sourcestringOptional
Responses
chevron-right
200

Contact updated successfully

application/json
patch
/api/contacts/{contactId}

Last updated