POST
/
queues
/
{queueId}
curl --request POST \
  --url https://api.contentmod.io/queues/{queueId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "text",
  "content": "This is a very cool api",
  "meta": "{}",
  "actorId": "123"
}'
{
  "id": "<string>",
  "status": "processing"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
image
type
enum<string>
required

Type of content to moderate

Available options:
text,
image
Example:

"text"

content
string
required

The content to moderate. Can either be a text, url or base64 encoded image

Example:

"This is a very cool api"

meta
object

Any metadata you want to store with the content

Example:

"{}"

actorId
string

An ID of a user that is performing an action in your system

Example:

"123"

Response

200
application/json
Response of the created queue item
id
string
required
status
enum<string>
required
Available options:
processing,
pending