Oktopost
Inbox

Conversation Tags

Conversation tags are labels used to categorize and filter conversations in your Oktopost Inbox. Use these endpoints to list, retrieve, update, and delete tag definitions.

List Tags

Retrieve all conversation tags for the account.

Parameters

ParameterTypeRequiredDescription
qStringNoSearch term to filter tags by name.
_pageIntegerNoPage number for pagination.
_countIntegerNoNumber of results per page (max 20).
_orderStringNoSort field and direction, e.g. name,1 for ascending by name.

Example Request

curl -i https://api.oktopost.com/v2/conversation-tag

Example Result

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

Get Tag

Retrieve a single conversation tag by ID.

Example Request

curl -i https://api.oktopost.com/v2/conversation-tag/etg000000000001

Example Result

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

Update Tag

Rename an existing conversation tag.

Parameters

ParameterTypeRequiredDescription
tagStringYesThe new tag name (max 64 characters).

Example Request

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

Example Result

{
	"Result": true
}

Delete Tag

Delete a conversation tag. The tag will be removed from all conversations it was assigned to.

Example Request

curl -i https://api.oktopost.com/v2/conversation-tag/etg000000000001 -X DELETE

Example Result

{
	"Result": true
}