RayFlow Docs
Api

Update Contact Attributes

POST
/api/v1/chats/{contactId}/attributes

Add or update a custom CRM attribute for a specific contact.

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

contactId*string

The RayFlow internal contact ID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/chats/string/attributes" \  -H "Content-Type: application/json" \  -d '{    "key": "loyalty_points",    "value": "150"  }'
{
  "success": true,
  "data": {}
}
Empty
Empty
Empty