Referência da APIExtensõesCreditWatchlists
Incluir posições na watchlist
Inclusão em lote e idempotente: CNPJs já acompanhados são contados em `skipped` em vez de derrubar o lote. Aceita CNPJ com ou sem pontuação.
AuthorizationBearer <token>
In: header
Path Parameters
orgstring
Id ou slug da organização (de deskGetMe).
liststring
Id ou slug da watchlist (de deskListWatchlists).
itemsarray<object>
Posições a incluir na watchlist (1–500), identificadas por CNPJ.
Items
1 <= items <= 500Response Body
curl -X POST "https://api.databolsa.com/v1/desk/orgs/string/watchlists/string/items" \ -H "Content-Type: application/json" \ -d '{ "items": [ { "cnpj": "string" } ] }'{
"added": 0,
"skipped": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string"
}