Tags

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-tags"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/8d292efa-c3ea-474c-a377-3a7754d8e582/social-card.svg?v=3e7ae33eec8b" alt="Tags" width="600" height="315"></a>
GET http://localhost:4000/api/v1/tags

List tags

Code samples

cURL
curl -X GET "http://localhost:4000/api/v1/tags" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
[
  {
    "id": "string",
    "organizationId": "string",
    "name": "string",
    "color": "string"
  }
]
Schema
id
string
required
organizationId
string
required
name
string
required
color
string
required
POST http://localhost:4000/api/v1/tags

Create or update a tag

Request body

application/json
id
string
name
string
required
color
string
required
{
  "id": "string",
  "name": "string",
  "color": "string"
}

Code samples

cURL
curl -X POST "http://localhost:4000/api/v1/tags" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"string","name":"string","color":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
DELETE http://localhost:4000/api/v1/tags/{id}

Delete a tag

Parameters

id
string
path
required

Code samples

cURL
curl -X DELETE "http://localhost:4000/api/v1/tags/{id}" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
POST http://localhost:4000/api/v1/tags/{tagId}/posts

Add a tag to many posts, whatever their status

Parameters

tagId
string
path
required

Request body

application/json
postIds
string[]
required
{
  "postIds": [
    "string"
  ]
}

Code samples

cURL
curl -X POST "http://localhost:4000/api/v1/tags/{tagId}/posts" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"postIds":["string"]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
Updated