PUT
/
customer
/
{id}
/
tags
curl --request PUT \
  --url https://chat.zoko.io/v2/customer/{id}/tags \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "tags": [
    "tag1"
  ]
}'
[
  {
    "status": "200",
    "message": "tag added",
    "details": "tag added for customer {{id}}"
  }
]

Authorizations

apikey
string
header
required

Authentication is done via apikey provided for your account

Include the following in your request header

apikey: "your_apikey_here"

Path Parameters

id
string
required

ID of customer

Body

application/json
Tags List
tags
string[]

Response

200
application/json
Update Customer Tags List
status
string
Example:

"200"

message
string
Example:

"tag added"

details
string
Example:

"tag added for customer {{id}}"