Oktopost
Inbox

Conversation Tags

List, get, update, and delete the tags that categorize conversations in your Oktopost Inbox.

Conversation tags are labels that categorize and filter conversations in your Oktopost Inbox.

List Tags

Retrieve all conversation tags for the account.

GET /v2/conversation-tag

Parameters

Prop

Type

See Pagination for shared behavior.

Example Request

curl -X GET "https://api.oktopost.com/v2/conversation-tag" \
  -u ACCOUNT_ID:API_KEY

Example Response

{
	"Result": true,
	"Items": [
		{
			"Id": "etg000000000001",
			"Value": "Support"
		},
		{
			"Id": "etg000000000002",
			"Value": "VIP"
		}
	],
	"Total": 2
}

Get Tag

Retrieve a single conversation tag by ID.

GET /v2/conversation-tag/:tagId

Parameters

Prop

Type

Example Request

curl -X GET "https://api.oktopost.com/v2/conversation-tag/etg000000000001" \
  -u ACCOUNT_ID:API_KEY

Example Response

{
	"Result": true,
	"Tag": {
		"Id": "etg000000000001",
		"Value": "Support"
	}
}

Update Tag

Rename an existing conversation tag.

POST /v2/conversation-tag/:tagId

Parameters

Prop

Type

Example Request

curl -X POST "https://api.oktopost.com/v2/conversation-tag/etg000000000001" \
  -u ACCOUNT_ID:API_KEY \
  -d tag="Customer Support"

Example Response

{
	"Result": true
}

Delete Tag

Delete a conversation tag and remove it from every conversation it was assigned to.

DELETE /v2/conversation-tag/:tagId

Parameters

Prop

Type

Example Request

curl -X DELETE "https://api.oktopost.com/v2/conversation-tag/etg000000000001" \
  -u ACCOUNT_ID:API_KEY

Example Response

{
	"Result": true
}