Skip to content

Mail API: contacts and fields

Mail API reference for VIPOutreach: Mail contacts, accounts (companies) and custom fields.

Mail keeps a contact for each person you email and an account for each company. Custom fields hold what your team records about them, and their history shows each change.

Each operation below shows its REST route under https://app.vipoutreach.com/api/v1, the command for the terminal and the MCP tool where they exist. The command's flags are listed with it; IDs in the route come first, in order. Fields that hold an object go in a JSON file passed with --input. These routes have no command of their own, so the terminal reaches them with vipoutreach api and an MCP client with vipoutreach_api_request.

Contacts and accounts

List team accounts

GET /api/v1/mail/crm/accounts

Requires explicitly selected Custom CRM read capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Stable ID ordering; cursors bind actor, key and filters. Search is a literal name/address/domain substring.

ID
listMailCrmAccounts
CLI
vipoutreach api get /mail/crm/accounts
MCP
vipoutreach_api_request
Access
api:mail:crm:read
Field In Type What it is
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 4096 characters.
query query string Up to 200 characters.
include_archived query integer One of: 0, 1. Default: 0.
include_deleted query integer One of: 0, 1. Default: 0.

* required

Create team accounts

POST /api/v1/mail/crm/accounts

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
createMailCrmAccount
CLI
vipoutreach api post /mail/crm/accounts
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
confirm * body any
name * body string Up to 255 characters.

* required

Get team accounts

GET /api/v1/mail/crm/accounts/{resource_id}

Requires explicitly selected Custom CRM read capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Stable ID ordering; cursors bind actor, key and filters. Search is a literal name/address/domain substring.

ID
getMailCrmAccount
CLI
vipoutreach api get /mail/crm/accounts/{resource_id}
MCP
vipoutreach_api_request
Access
api:mail:crm:read
Field In Type What it is
resource_id * path string

* required

Update team accounts

PATCH /api/v1/mail/crm/accounts/{resource_id}

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
updateMailCrmAccount
CLI
vipoutreach api patch /mail/crm/accounts/{resource_id}
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
name * body string Up to 255 characters.

* required

Delete team accounts

DELETE /api/v1/mail/crm/accounts/{resource_id}

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
deleteMailCrmAccount
CLI
vipoutreach api delete /mail/crm/accounts/{resource_id}
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Archive team accounts

POST /api/v1/mail/crm/accounts/{resource_id}/archive

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
archiveMailCrmAccount
CLI
vipoutreach api post /mail/crm/accounts/{resource_id}/archive
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Read recent account conversations

GET /api/v1/mail/crm/accounts/{resource_id}/conversations

Requires Custom CRM read capability and personal CRM approval AND separate content capability/consent. Current direct content grants, workspace visibility and the approved content mailbox list restrict the shared query before counts, sorting and limits. Returns at most 20 recent links, total matching count and has_more. Excludes Draft/Trash/Junk-only participant appearances. No bodies, snippets, attachments or internal identifiers. Ordinary CRM metadata reads remain content-free.

ID
getMailCrmAccountConversations
CLI
vipoutreach api get /mail/crm/accounts/{resource_id}/conversations
MCP
vipoutreach_api_request
Access
api:mail:crm:read
Field In Type What it is
resource_id * path string

* required

Confirm CRM add domain

POST /api/v1/mail/crm/accounts/{resource_id}/domains

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state. Domain auto_link changes future team contact matching. Merge moves source identities, history and custom values into the survivor and soft-deletes the source; both revisions must match. Account links require the current account revision.

ID
addDomainMailCrmAccount
CLI
vipoutreach api post /mail/crm/accounts/{resource_id}/domains
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
domain * body string Up to 253 characters.
match_mode * body string One of: suggest_only, auto_link.

* required

Confirm CRM update domain

PATCH /api/v1/mail/crm/accounts/{resource_id}/domains

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state. Domain auto_link changes future team contact matching. Merge moves source identities, history and custom values into the survivor and soft-deletes the source; both revisions must match. Account links require the current account revision.

ID
updateDomainMailCrmAccount
CLI
vipoutreach api patch /mail/crm/accounts/{resource_id}/domains
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
domain_id * body string
match_mode * body string One of: suggest_only, auto_link.

* required

Confirm CRM remove domain

DELETE /api/v1/mail/crm/accounts/{resource_id}/domains

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state. Domain auto_link changes future team contact matching. Merge moves source identities, history and custom values into the survivor and soft-deletes the source; both revisions must match. Account links require the current account revision.

ID
removeDomainMailCrmAccount
CLI
vipoutreach api delete /mail/crm/accounts/{resource_id}/domains
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
domain_id * body string

* required

Permanently delete a trashed CRM account

DELETE /api/v1/mail/crm/accounts/{resource_id}/force

Requires current CRM write capability, explicit personal CRM write consent, team management rights, confirm=true, Idempotency-Key and the exact reviewed trashed-record revision. Irreversibly removes the record and its owned identities/custom values. Company deletion unlinks its contacts rather than deleting contacts. No mailbox content is returned or email sent. A successful response is a content-free historical receipt; same-key replay rechecks current class-scope authority and never repeats deletion. A different key after deletion returns404. Active records must first move to trash.

ID
permanentlyDeleteMailCrmAccount
CLI
vipoutreach api delete /mail/crm/accounts/{resource_id}/force
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Confirm CRM merge

POST /api/v1/mail/crm/accounts/{resource_id}/merge

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state. Domain auto_link changes future team contact matching. Merge moves source identities, history and custom values into the survivor and soft-deletes the source; both revisions must match. Account links require the current account revision.

ID
mergeMailCrmAccount
CLI
vipoutreach api post /mail/crm/accounts/{resource_id}/merge
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
source_id * body string
source_revision * body string
field_choices body object

* required

Restore team accounts

POST /api/v1/mail/crm/accounts/{resource_id}/restore

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
restoreMailCrmAccount
CLI
vipoutreach api post /mail/crm/accounts/{resource_id}/restore
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Unarchive team accounts

POST /api/v1/mail/crm/accounts/{resource_id}/unarchive

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
unarchiveMailCrmAccount
CLI
vipoutreach api post /mail/crm/accounts/{resource_id}/unarchive
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

List team contacts

GET /api/v1/mail/crm/contacts

Requires explicitly selected Custom CRM read capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Stable ID ordering; cursors bind actor, key and filters. Search is a literal name/address/domain substring.

ID
listMailCrmContacts
CLI
vipoutreach api get /mail/crm/contacts
MCP
vipoutreach_api_request
Access
api:mail:crm:read
Field In Type What it is
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 4096 characters.
query query string Up to 200 characters.
include_archived query integer One of: 0, 1. Default: 0.
include_deleted query integer One of: 0, 1. Default: 0.

* required

Create team contacts

POST /api/v1/mail/crm/contacts

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
createMailCrmContact
CLI
vipoutreach api post /mail/crm/contacts
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
confirm * body any
name body string Up to 255 characters. Can be null.
email body string Up to 320 characters.
primary_email body string Up to 320 characters.

* required

Get team contacts

GET /api/v1/mail/crm/contacts/{resource_id}

Requires explicitly selected Custom CRM read capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Stable ID ordering; cursors bind actor, key and filters. Search is a literal name/address/domain substring.

ID
getMailCrmContact
CLI
vipoutreach api get /mail/crm/contacts/{resource_id}
MCP
vipoutreach_api_request
Access
api:mail:crm:read
Field In Type What it is
resource_id * path string

* required

Update team contacts

PATCH /api/v1/mail/crm/contacts/{resource_id}

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
updateMailCrmContact
CLI
vipoutreach api patch /mail/crm/contacts/{resource_id}
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
name body string Up to 255 characters. Can be null.
email body string Up to 320 characters.
primary_email body string Up to 320 characters.

* required

Delete team contacts

DELETE /api/v1/mail/crm/contacts/{resource_id}

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
deleteMailCrmContact
CLI
vipoutreach api delete /mail/crm/contacts/{resource_id}
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Confirm CRM link account

PUT /api/v1/mail/crm/contacts/{resource_id}/account

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state. Domain auto_link changes future team contact matching. Merge moves source identities, history and custom values into the survivor and soft-deletes the source; both revisions must match. Account links require the current account revision.

ID
linkAccountMailCrmContact
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
account_id * body string
account_revision * body string

* required

Confirm CRM unlink account

DELETE /api/v1/mail/crm/contacts/{resource_id}/account

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state. Domain auto_link changes future team contact matching. Merge moves source identities, history and custom values into the survivor and soft-deletes the source; both revisions must match. Account links require the current account revision.

ID
unlinkAccountMailCrmContact
CLI
vipoutreach api delete /mail/crm/contacts/{resource_id}/account
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Archive team contacts

POST /api/v1/mail/crm/contacts/{resource_id}/archive

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
archiveMailCrmContact
CLI
vipoutreach api post /mail/crm/contacts/{resource_id}/archive
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Read recent contact conversations

GET /api/v1/mail/crm/contacts/{resource_id}/conversations

Requires Custom CRM read capability and personal CRM approval AND separate content capability/consent. Current direct content grants, workspace visibility and the approved content mailbox list restrict the shared query before counts, sorting and limits. Returns at most 20 recent links, total matching count and has_more. Excludes Draft/Trash/Junk-only participant appearances. No bodies, snippets, attachments or internal identifiers. Ordinary CRM metadata reads remain content-free.

ID
getMailCrmContactConversations
CLI
vipoutreach api get /mail/crm/contacts/{resource_id}/conversations
MCP
vipoutreach_api_request
Access
api:mail:crm:read
Field In Type What it is
resource_id * path string

* required

Confirm CRM add email

POST /api/v1/mail/crm/contacts/{resource_id}/emails

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state. Domain auto_link changes future team contact matching. Merge moves source identities, history and custom values into the survivor and soft-deletes the source; both revisions must match. Account links require the current account revision.

ID
addEmailMailCrmContact
CLI
vipoutreach api post /mail/crm/contacts/{resource_id}/emails
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
email * body string Up to 320 characters.

* required

Confirm CRM remove email

DELETE /api/v1/mail/crm/contacts/{resource_id}/emails

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state. Domain auto_link changes future team contact matching. Merge moves source identities, history and custom values into the survivor and soft-deletes the source; both revisions must match. Account links require the current account revision.

ID
removeEmailMailCrmContact
CLI
vipoutreach api delete /mail/crm/contacts/{resource_id}/emails
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
email * body string Up to 320 characters.

* required

Permanently delete a trashed CRM contact

DELETE /api/v1/mail/crm/contacts/{resource_id}/force

Requires current CRM write capability, explicit personal CRM write consent, team management rights, confirm=true, Idempotency-Key and the exact reviewed trashed-record revision. Irreversibly removes the record and its owned identities/custom values. Company deletion unlinks its contacts rather than deleting contacts. No mailbox content is returned or email sent. A successful response is a content-free historical receipt; same-key replay rechecks current class-scope authority and never repeats deletion. A different key after deletion returns404. Active records must first move to trash.

ID
permanentlyDeleteMailCrmContact
CLI
vipoutreach api delete /mail/crm/contacts/{resource_id}/force
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Confirm CRM merge

POST /api/v1/mail/crm/contacts/{resource_id}/merge

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state. Domain auto_link changes future team contact matching. Merge moves source identities, history and custom values into the survivor and soft-deletes the source; both revisions must match. Account links require the current account revision.

ID
mergeMailCrmContact
CLI
vipoutreach api post /mail/crm/contacts/{resource_id}/merge
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
source_id * body string
source_revision * body string
field_choices body object

* required

Restore team contacts

POST /api/v1/mail/crm/contacts/{resource_id}/restore

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
restoreMailCrmContact
CLI
vipoutreach api post /mail/crm/contacts/{resource_id}/restore
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Unarchive team contacts

POST /api/v1/mail/crm/contacts/{resource_id}/unarchive

Requires explicitly selected Custom CRM read/write capability and separate personal CRM consent. Current team membership and management policy apply. No mailbox selection or email-content authority is implied. Requires confirm=true and Idempotency-Key; existing records require their exact reviewed revision. Encrypted historical replay repeats no effects and rechecks current authority. Unarchive restores archived metadata; restore undeletes without changing archived state.

ID
unarchiveMailCrmContact
CLI
vipoutreach api post /mail/crm/contacts/{resource_id}/unarchive
MCP
vipoutreach_api_request
Access
api:mail:crm:write
Field In Type What it is
resource_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Custom fields

Read applicable fields and current values for one resource

GET /api/v1/mail/custom-field-values/{resource_type}/{resource_id}

Requires explicit Custom custom_fields read capability and personal consent PLUS underlying target access. Contacts/accounts require CRM read consent and current record policy. Conversations require content read consent, current direct grant and the key's approved content mailbox_ids. Mailbox values require administration read consent, separate administration_mailbox_ids and current manageMailbox policy; this does not grant inbox content. Resource types and all IDs are explicit; user values use same-team public user IDs, never numeric IDs. Archived fields retain existing values read-only. Removed resource scopes hide values. Writes require confirm=true, Idempotency-Key and the exact value entry revision from the list; it binds the field definition and current target value. No automatic revision refresh. Clear preserves history. Value/history responses and encrypted replay remain private and freshly authorized.

ID
listMailCustomFieldValues
CLI
vipoutreach api get /mail/custom-field-values/{resource_type}/{resource_id}
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:read
Field In Type What it is
resource_type * path string One of: contact, account, conversation, mailbox.
resource_id * path string

* required

Read private custom-field value history for one resource

GET /api/v1/mail/custom-field-values/{resource_type}/{resource_id}/history

Requires explicit Custom custom_fields read capability and personal consent PLUS underlying target access. Contacts/accounts require CRM read consent and current record policy. Conversations require content read consent, current direct grant and the key's approved content mailbox_ids. Mailbox values require administration read consent, separate administration_mailbox_ids and current manageMailbox policy; this does not grant inbox content. Resource types and all IDs are explicit; user values use same-team public user IDs, never numeric IDs. Archived fields retain existing values read-only. Removed resource scopes hide values. Writes require confirm=true, Idempotency-Key and the exact value entry revision from the list; it binds the field definition and current target value. No automatic revision refresh. Clear preserves history. Value/history responses and encrypted replay remain private and freshly authorized.

ID
listMailCustomFieldValueHistory
CLI
vipoutreach api get /mail/custom-field-values/{resource_type}/{resource_id}/history
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:read
Field In Type What it is
resource_type * path string One of: contact, account, conversation, mailbox.
resource_id * path string
definition_id query string
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 4096 characters.

* required

Set one typed custom-field value

PUT /api/v1/mail/custom-field-values/{resource_type}/{resource_id}/{definition_id}

Requires explicit Custom custom_fields write capability and personal consent PLUS underlying target access. Contacts/accounts require CRM write consent and current record policy. Conversations require content read consent, current direct grant and the key's approved content mailbox_ids. Mailbox values require administration write consent, separate administration_mailbox_ids and current manageMailbox policy; this does not grant inbox content. Resource types and all IDs are explicit; user values use same-team public user IDs, never numeric IDs. Archived fields retain existing values read-only. Removed resource scopes hide values. Writes require confirm=true, Idempotency-Key and the exact value entry revision from the list; it binds the field definition and current target value. No automatic revision refresh. Clear preserves history. Value/history responses and encrypted replay remain private and freshly authorized.

ID
setMailCustomFieldValue
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
resource_type * path string One of: contact, account, conversation, mailbox.
resource_id * path string
definition_id * path string
Idempotency-Key header string Up to 255 characters.
confirm * body any
revision * body string
value * body string or number or boolean or array Scalar matching the field type; select fields use one option ID or a list; user fields use a current same-team public user ID. Null is not a set value; use clear. Up to 4000 characters.

* required

Clear one custom-field value while retaining history

DELETE /api/v1/mail/custom-field-values/{resource_type}/{resource_id}/{definition_id}

Requires explicit Custom custom_fields write capability and personal consent PLUS underlying target access. Contacts/accounts require CRM write consent and current record policy. Conversations require content read consent, current direct grant and the key's approved content mailbox_ids. Mailbox values require administration write consent, separate administration_mailbox_ids and current manageMailbox policy; this does not grant inbox content. Resource types and all IDs are explicit; user values use same-team public user IDs, never numeric IDs. Archived fields retain existing values read-only. Removed resource scopes hide values. Writes require confirm=true, Idempotency-Key and the exact value entry revision from the list; it binds the field definition and current target value. No automatic revision refresh. Clear preserves history. Value/history responses and encrypted replay remain private and freshly authorized.

ID
clearMailCustomFieldValue
CLI
vipoutreach api delete /mail/custom-field-values/{resource_type}/{resource_id}/{definition_id}
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
resource_type * path string One of: contact, account, conversation, mailbox.
resource_id * path string
definition_id * path string
Idempotency-Key header string Up to 255 characters.
confirm * body any
revision * body string

* required

List custom-field definitions

GET /api/v1/mail/custom-fields

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
indexMailCustomField
CLI
vipoutreach api get /mail/custom-fields
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:read
Field In Type What it is
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 4096 characters.
query query string Up to 200 characters.
include_archived query integer One of: 0, 1.
include_deleted query integer One of: 0, 1.
resource_type query string One of: contact, account, conversation, mailbox.

* required

Create a custom-field definition

POST /api/v1/mail/custom-fields

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
storeMailCustomField
CLI
vipoutreach api post /mail/custom-fields
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
confirm * body any
label * body string Up to 120 characters.
resource_types * body array of string One of: contact, account, conversation, mailbox.
type * body string One of: text, textarea, number, boolean, single_select, multi_select, date, url, email, user.
field_key body string Up to 80 characters. Can be null.
options body array Can be null.

* required

Read the complete active custom-field order for one resource type

GET /api/v1/mail/custom-fields/order

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
orderMailCustomField
CLI
vipoutreach api get /mail/custom-fields/order
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:read
Field In Type What it is
resource_type * query string One of: contact, account, conversation, mailbox.

* required

Replace the complete active custom-field order

PUT /api/v1/mail/custom-fields/order

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
reorderMailCustomField
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
resource_type * body string One of: contact, account, conversation, mailbox.
field_ids * body array of string

* required

Read a custom-field definition

GET /api/v1/mail/custom-fields/{definition_id}

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
showMailCustomField
CLI
vipoutreach api get /mail/custom-fields/{definition_id}
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:read
Field In Type What it is
definition_id * path string

* required

Update a custom-field definition

PATCH /api/v1/mail/custom-fields/{definition_id}

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
updateMailCustomField
CLI
vipoutreach api patch /mail/custom-fields/{definition_id}
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
label body string Up to 120 characters.
resource_types body array of string One of: contact, account, conversation, mailbox.

* required

Move a custom-field definition to trash

DELETE /api/v1/mail/custom-fields/{definition_id}

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
destroyMailCustomField
CLI
vipoutreach api delete /mail/custom-fields/{definition_id}
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Archive a custom-field definition

POST /api/v1/mail/custom-fields/{definition_id}/archive

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
archiveMailCustomField
CLI
vipoutreach api post /mail/custom-fields/{definition_id}/archive
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Permanently delete a trashed custom-field definition and all its values and history

DELETE /api/v1/mail/custom-fields/{definition_id}/force

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
forceDestroyMailCustomField
CLI
vipoutreach api delete /mail/custom-fields/{definition_id}/force
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Create a custom-field option

POST /api/v1/mail/custom-fields/{definition_id}/options

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
optionStoreMailCustomField
CLI
vipoutreach api post /mail/custom-fields/{definition_id}/options
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
label * body string Up to 120 characters.

* required

Rename a custom-field option

PATCH /api/v1/mail/custom-fields/{definition_id}/options

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
optionUpdateMailCustomField
CLI
vipoutreach api patch /mail/custom-fields/{definition_id}/options
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
label * body string Up to 120 characters.
option_id * body string

* required

Move a custom-field option to trash

DELETE /api/v1/mail/custom-fields/{definition_id}/options

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
optionDestroyMailCustomField
CLI
vipoutreach api delete /mail/custom-fields/{definition_id}/options
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
option_id * body string

* required

Archive a custom-field option

POST /api/v1/mail/custom-fields/{definition_id}/options/archive

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
optionArchiveMailCustomField
CLI
vipoutreach api post /mail/custom-fields/{definition_id}/options/archive
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
option_id * body string

* required

Replace the complete non-deleted custom-field option order

PUT /api/v1/mail/custom-fields/{definition_id}/options/order

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
optionsReorderMailCustomField
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
option_ids * body array of string

* required

Restore a trashed custom-field option

POST /api/v1/mail/custom-fields/{definition_id}/options/restore

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
optionRestoreMailCustomField
CLI
vipoutreach api post /mail/custom-fields/{definition_id}/options/restore
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
option_id * body string

* required

Unarchive a custom-field option

POST /api/v1/mail/custom-fields/{definition_id}/options/unarchive

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
optionUnarchiveMailCustomField
CLI
vipoutreach api post /mail/custom-fields/{definition_id}/options/unarchive
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
option_id * body string

* required

Restore a trashed custom-field definition

POST /api/v1/mail/custom-fields/{definition_id}/restore

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
restoreMailCustomField
CLI
vipoutreach api post /mail/custom-fields/{definition_id}/restore
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Unarchive a custom-field definition

POST /api/v1/mail/custom-fields/{definition_id}/unarchive

Requires explicitly selected Custom custom_fields capability and separate personal custom_fields consent. Field metadata never grants access to actual values, CRM records, conversations or mailbox settings. Current membership, management rights and feature availability remain authoritative, including cached replay. Writes require JSON boolean confirm=true and Idempotency-Key. Update/lifecycle/option writes require the exact definition revision. Field ordering requires its complete active set and collection revision. Option ordering includes ALL non-deleted options, including archived options, and binds the parent definition revision. Permanent deletion requires trash first and the permanent_deletion.revision, covering all values/history; its irreversible result is a content-free historical receipt. Re-read and obtain new confirmation after conflict; never silently refresh a revision.

ID
unarchiveMailCustomField
CLI
vipoutreach api post /mail/custom-fields/{definition_id}/unarchive
MCP
vipoutreach_api_request
Access
api:mail:custom_fields:write
Field In Type What it is
definition_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required