cte_uuidpath · stringRequiredPublic CT-e UUID.
Constraints
{
"type": "string",
"format": "uuid"
}Parameters, data structure and responses from the versioned contract.
/fiscal/cte/{cte_uuid}/consultaTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Polling endpoint for issuance returning 202, a timeout or an ambiguous result.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]cte_uuidpath · stringRequiredPublic CT-e UUID.
{
"type": "string",
"format": "uuid"
}200 HTTP ResponseQuery completed; check authorization.outcome.
application/jsondataobjectRequiredenvironmentobjectRequiredX-Request-IdCall correlation identifier.
202 HTTP ResponseAuthorization pending or temporarily unavailable; continue polling.
application/jsondataobjectRequiredenvironmentobjectRequiredX-Request-IdCall correlation identifier.
Retry-AfterMay be supplied by the gateway; if absent, apply client-side backoff.
401 HTTP ResponseFleetPay API key missing or invalid.
X-Request-IdCall correlation identifier.
403 HTTP ResponseFiscal scope disabled for the key, or no active carrier associated with the key.
X-Request-IdCall correlation identifier.
404 HTTP ResponseResource not found in the authenticated tenant.
X-Request-IdCall correlation identifier.
429 HTTP ResponsePer-carrier limit exceeded.
X-Request-IdCall correlation identifier.
Retry-AfterSeconds until another attempt.
500 HTTP ResponseInternal failure without operational integration details.
X-Request-IdCall correlation identifier.
{
"tags": [
"CT-e"
],
"summary": "Consultar autorização do CT-e",
"description": "Endpoint de polling para emissão com resposta 202, timeout ou resultado ambíguo.",
"operationId": "queryCte",
"responses": {
"200": {
"$ref": "#/components/responses/CteQueryOk"
},
"202": {
"$ref": "#/components/responses/CteQueryPending"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"404": {
"$ref": "#/components/responses/NotFound"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
},
"method": "POST",
"path": "/fiscal/cte/{cte_uuid}/consulta",
"parameters": [
{
"$ref": "#/components/parameters/CteUuid"
}
]
}