Update a contact profile
Change a contact profile's Agent, line, template, texts, contact hours, name or metadata. Omitted fields stay and null clears one. The channel type never changes: a field of the other type fails with CHANNEL_TYPE_MISMATCH. Conversations already started keep what they started with.
- Scope:
raiz:profiles:write - Credentials: an API key, a client-credentials token or a person's access token
- Effect: writes; idempotent, safe to retry
- Limits: request body up to 32 KB, response up to 1 MB
- CLI:
arbol raiz profiles update· MCP tool:raiz_profiles_update
PATCH
https://api.getarbol.com/v1/raiz/profiles/{profileId}Authorization
Path parameters
Request body JSON required
- channelIdoptionalstring | null
The line to contact from, of the profile's channel type. Null: the Agent's own channel; for calls, then the platform's shared line.
pattern: ^(?:chn_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))|(?:agc)_(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$
Returns
200
Successful operation.
404
NOT_FOUND: The requested operation does not exist.RESOURCE_NOT_FOUND: The requested resource does not exist in this organization.
409
CHANNEL_TYPE_MISMATCH: This operation or field does not apply to this channel's type.VERSION_CONFLICT: The resource changed after it was read. Read it again and retry with the new version.
422
TIME_ZONE_UNKNOWN: The time zone is not in the IANA time zone database.CHANNEL_AGENT_MISMATCH: This Agent cannot serve this channel: voice channels need a voice Agent; WhatsApp and web channels need a text Agent.
502
OUTCOME_UNKNOWN: The operation may have been applied; check its result before repeating it.
503
UPSTREAM_UNAVAILABLE: The upstream service could not complete the request.INTEGRATIONS_UNAVAILABLE: The organization's integrations cannot be read right now. Try again shortly.