Skip to main content
GET
/
v1
/
scr
/
score
/
{document}
Score (SCR)
curl --request GET \
  --url https://search.tratum.com.br/v1/scr/score/{document} \
  --header 'Authorization: Bearer <token>'
{
  "status": "PLAN_NOT_ALLOWED",
  "message": "Seu plano não permite acesso a este recurso"
}

Authorizations

Authorization
string
header
required

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

Headers

Authorization
string | null

Path Parameters

document
string
required

Query Parameters

planId
integer<int64>
required

Response

Cache, plano sem permissão SCR, ou corpo de sucesso

HTTP 200: ou bloqueio por plano (PLAN_NOT_ALLOWED), ou sucesso a partir do cache (SUCCESS + source: cache).

status
enum<string>
required
Available options:
PLAN_NOT_ALLOWED
message
string
required
Example:

"Seu plano não permite acesso a este recurso"