Skip to main content
PATCH
/
customer-interactions
/
{CUSTOMER_INTERACTION_ID}
cURL
curl --request PATCH \
  --url https://api.alpharun.com/api/v1/customer-interactions/{CUSTOMER_INTERACTION_ID} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "custom_fields": [
    {
      "key": "priority",
      "value": "high"
    }
  ]
}
'
{
  "data": {
    "customer_interaction": {
      "id": "abc123",
      "custom_fields": [
        {
          "key": "priority",
          "name": "Priority",
          "type": "text",
          "value": "high"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

CUSTOMER_INTERACTION_ID
string<uuid>
required

ID of the customer interaction to update

Body

application/json
custom_fields
object[]
required

Custom field values to set on the customer interaction. Each key must match the field_name of a Customer interaction custom field defined in your Alpharun dashboard.

Response

Customer interaction updated

data
object