Skip to main content
POST
/
api
/
v1
/
documents
/
{id}
/
tags
Add tag to document
curl --request POST \
  --url https://app.sajn.se/api/v1/documents/{id}/tags \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "tagId": "<string>"
}'
{
  "success": true
}

Headers

authorization
string
required

Bearer token for API authentication

Path Parameters

id
string
required

Body

application/json

Body

tagId
string
required
Minimum length: 1

Response

200

success
boolean
required
I