Add Labels


Add labels to a conversation.


🛈 Note: Using this request will overwrite the existing list of labels associated to the conversation


Settings:

URL

https://online.99digital.co.il/api/v1/accounts/{account_id}/conversations/{conversation_id}/labels

Method

JSON via POST


Authorization:

Header Parameter

Description

api_access_token

user API key


The user API key provides access to endpoints based on the user permissions levels and can be obtained by visiting the profile page.

Path Parameters:

Parameter

Description

Required

account_id

The numeric id of the account

yes

conversation_id

The numeric id of the account

yes


Request body:

Parameter

type

Description

Required

labels

array of strings

An array of comma separated labels

yes


Request body example:

{
    "labels": ["string", "other_string"]
}


Response:

{
    "payload": [
        "string",
		"other_string"
    ]
}


Response-Explain:

Parameter

Description

payload

Array of strings (label)