Skip to main content
POST
/
documents
/
{reference}
/
tags
Add tags to a document
curl --request POST \
  --url https://api.prod.payana.cloud/public/api/v1/documents/{reference}/tags \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "tags_text": [
    "centro-costo-42",
    "urgente"
  ]
}
'
{
  "message": "Tags stored successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.payana.la/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

api-key
string
header
required

API key provista por Payana.

Path Parameters

reference
string
required

Referencia interna del documento en Payana (UUID, ej. aaea7db4-647c-4d92-9f86-89e34a68e1aa).

Body

application/json
tags_text
string[]
required

Nombres de etiquetas a agregar al documento. Se crean en Payana si aún no existen para tu compañía.

Minimum array length: 1

Response

Tags stored successfully

message
string
required
Example:

"Tags stored successfully"