Ir al contenido
UnoPagoDocumentación
Referencia de la APICustomer dataTags

Get available tags for the account

GET
/v1/tags

Autorización

bearerAuth
headerAutorizaciónBearer <token>

Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.

entityType?string
Valor en"CUSTOMER""INVOICE""INVOICE_ITEM""SUBSCRIPTION""PLAN""PAYMENT""STUDENT""CONTACT""BANK_ACCOUNT""TRANSACTION_FILE""ENROLLMENT"
onlyActive?boolean
Por defectotrue

Cuerpo de la respuesta

Successful response

application/json
  1. response
[index: integer]?
Ejemplo de solicitud
curl -X GET 'https://api.unopago.com/v1/tags'
Ejemplo de respuesta
[  {    "entityTypes": [      "CUSTOMER"    ],    "id": "string",    "accountId": "string",    "name": "string",    "emoji": "string",    "color": "string",    "description": "string",    "isActive": true,    "sortOrder": -9007199254740991,    "createdAt": "string",    "updatedAt": "string",    "deletedAt": "string"  }]