Create a contact profile
Save a named way to contact people that other systems can use by id. A voice profile places calls with a voice Agent, optionally with its own first message and instructions; a whatsapp profile opens conversations with an approved template (its parameters can use the request's variables) and its text Agent answers. Both can limit when contact starts (contactHours, timeZone). Fails with CHANNEL_AGENT_MISMATCH when the Agent's modality does not fit the channel type, and CHANNEL_TYPE_MISMATCH when the line is of another type; the template is checked when a conversation starts (find templates with list_templates).
- Scope:
raiz:profiles:write - Credentials: an API key, a client-credentials token or a person's access token
- Effect: writes; not idempotent: check the outcome before you retry
- Limits: request body up to 32 KB, response up to 1 MB
- CLI:
arbol raiz profiles create· MCP tool:raiz_profiles_create
POST
https://api.getarbol.com/v1/raiz/profilesAuthorization
Request body JSON required
One of the following:
- object
- object
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.