Tag Item
Endpoint: /tag/items
Method: POST
Request body
Parameter | Type | Description |
---|---|---|
title | string | Item's title REQUIRED |
content | string | Item's main body REQUIRED |
category | string | Item's categories (as a comma separated string) OPTIONAL |
reference | string | Item's reference e.g. The post id, in your Wordpress site OPTIONAL |
permalink | string | Item's URL e.g https://tagbee.co OPTIONAL |
Example Request
curl --location 'https://api.tabee.co/tag/items' \
--header 'x-tagbee-pubkey: xxxxxxxxxx' \
--header 'x-tagbee-signature: xxxxxxxxxx' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"content": "This is my dummy text",
"title": "Hello TagBee!",
"permalink": "https://tagbee.co/blog/123",
"platform": "Wordpress 6.1.1",
"category": "Politics,Fun"
"reference": "123"
}'
Example Response 200 OK
{
"data": {
"id": "88750438c-4e85-4995-9f50-3a66ceec6ff6",
"tags": [
{"tag": "tag 1"},
{"tag": "tag 2"}
]
}
}