For the complete documentation index, see llms.txt. This page is also available as Markdown.

Attributes

This page provides API documentation for performing operations on Dynamic Attributes.

Partially update (merge) dynamic attributes for an entity

patch

Access Control:

  • Allowed Roles: MEMBER

  • Impersonated User Allowed: No

  • Organization API Key Allowed: Yes

Patch Behavior:

  • Attribute not present in request: A new attribute will be created.

  • Attribute set to null: The request will fail because the attribute has a non-null validation constraint.

  • Attribute set to an empty object ({ }): No changes will be applied.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orgIdstringRequired
entityTypestringRequired
entityIdstringRequired

Entity ID. For entity type 'lead', accepts either the Saleschat-generated lead ID (UUID) or the lead's CRM ID. For other entity types, the exact entity ID is required.

Body
Responses
200

Successfully patched attributes

application/json
idinteger · int64Optional
org_idstringOptional
entity_typestringOptional
entity_idstringOptional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
patch/v4/orgs/{orgId}/dynamic-attributes/{entityType}/{entityId}
Deprecated

Partially update (merge) dynamic attributes for an entity

patch

Access Control:

  • Allowed Roles: MEMBER

  • Impersonated User Allowed: No

  • Organization API Key Allowed: Yes

Patch Behavior:

  • Attribute not present in request: A new attribute will be created.

  • Attribute set to null: The request will fail because the attribute has a non-null validation constraint.

  • Attribute set to an empty object ({ }): No changes will be applied.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orgIdstringRequired
entityTypestringRequired
entityIdstringRequired
Body
Responses
200

Successfully patched attributes

application/json
idinteger · int64Optional
org_idstringOptional
entity_typestringOptional
entity_idstringOptional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
patch/v1/orgs/{orgId}/dynamic-attributes/{entityType}/{entityId}

Last updated