api reference
GET
/v1/verifications/requirements

Query Parameters

country_code*Country Code
Length2 <= length <= 2
number_type*Number Type
subject_type*Subject Type

Who is verifying: 'person' (you) or 'business' (your company). Required. Ask the user which one.

Value in

  • "person"
  • "business"
provider?|
Deprecated

Deprecated and ignored. Hail picks the carrier from quote_id or number_id.

purpose?Purpose
Default"number"
quote_id?|

Required for purpose=number: quote_id of an offer from POST /numbers/quotes that needs verification. The carrier is read from it.

number_id?|

For purpose=sms: id of one of your US numbers. The carrier is read from it. Needed when your US numbers are with more than one carrier.

Header Parameters

authorization?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/verifications/requirements?country_code=st&number_type=string&subject_type=person"
{  "country_code": "string",  "number_type": "string",  "subject_type": "person",  "required": true,  "fields": [],  "documents": [],  "address_required": false,  "subject_types": []}