Custom Attributes
Patch custom attributes of an end user
ApiKeyAuth contact.custom_attributeAuthorization<token>Scope: contact.custom_attribute
userId*stringuuidThe custom attributes of an end user to be patched. This should map the custom attribute id to the desired attribute value. Format: Map[UUID, Option[AttributeValue].
application/json- body
[key: string]?array<string>|AttributeValue values: String[] if the type of the custom attribute is Select or String if the type of the custom attribute is Text
The patched end user attributes
application/json- response
data?array<>curl -X PATCH 'https://dev.dixa.io/beta/endusers/{userId}/custom-attributes' \ -H 'Authorization: <API token>' \ -H 'Content-Type: application/json' \ -d '{ "274e5a2c-be0d-42c0-b725-3dd533729f68": "abcdef", "befae0d9-9679-42b9-af76-e76f64e28429": [ "example1", "example2" ]}'Patch custom attributes of a conversation
ApiKeyAuth conversation.custom_attributeAuthorization<token>Scope: conversation.custom_attribute
conversationId*integerint64The custom attributes of an conversation to be patched. This should map the custom attribute id to the desired attribute value. Format: Map[UUID, Option[AttributeValue].
application/json- body
[key: string]?array<string>|AttributeValue values: String[] if the type of the custom attribute is Select or String if the type of the custom attribute is Text
The patched conversation attributes
application/json- response
data?array<>curl -X PATCH 'https://dev.dixa.io/beta/conversations/{conversationId}/custom-attributes' \ -H 'Authorization: <API token>' \ -H 'Content-Type: application/json' \ -d '{ "2f5515b6-7e98-4f4d-9010-bfd2a27d4f35": "012345", "e14708a6-eed9-495c-9d88-c72331e9e247": [ "str1", "str2" ]}'Get custom attribute in an organization by id.
ApiKeyAuthAuthorization<token>customAttributeId*stringThe configured custom attribute
application/json- response
data*curl -X GET 'https://dev.dixa.io/beta/custom-attributes/{customAttributeId}' \ -H 'Authorization: <API token>'List all custom attributes in an organization.
ApiKeyAuthAuthorization<token>The list of configured custom attributes
application/json- response
data?array<>curl -X GET 'https://dev.dixa.io/beta/custom-attributes' \ -H 'Authorization: <API token>'