Saltar al contenido
Esc
↑↓navegar↵abrir⌘Jvista previa

Retrieve a verification

GET/verifications/{id}
Autorización
AuthorizationToken Bearer · headerobligatorio

A BillionSend API key (bs_…).

Parámetros de ruta
idstring<uuid>obligatorio
Respuestas
200

One verification run: its status, and its results once completed

objectstringobligatorio
Valores permitidos:verification
idstring<uuid>obligatorio
statusstringobligatorio

queued, submitted (being verified), completed or failed

Valores permitidos:queuedsubmittedcompletedfailed
failure_reasonstring | nullobligatorio

Why a failed run failed; nothing is billed for it

Valores permitidos:timeoutprovider_failedprovider_rejectedresults_unreadablesubmit_failednull
totalintegerobligatorio

Contacts in the run

countsobject | nullobligatorio

Results by verdict once the run completed

billableinteger | nullobligatorio

Addresses with a definite verdict, which is what is billed (unknown is free)

grant_usedinteger | nullobligatorio

Of billable, covered by the free credit

meteredinteger | nullobligatorio

Of billable, billed on the monthly invoice

created_atstringobligatorio
finished_atstring | nullobligatorio
401

Missing, malformed, unknown or revoked API key

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
404

Not found

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
422

Validation error

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
429

Over the rate limit (rate_limit_exceeded, with Retry-After)

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
Pruébalo
Servidor
Autorización
Parámetros
Solicitud
curl -X GET 'https://api.billionsend.com/verifications/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Respuesta
{
  "object": "verification",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "status": "queued",
  "failure_reason": "timeout",
  "total": 0,
  "counts": {
    "property1": 0,
    "property2": 0
  },
  "billable": 0,
  "grant_used": 0,
  "metered": 0,
  "created_at": "string",
  "finished_at": "string"
}

¿Te ha resultado útil esta página?