Get verification requirements
get_verification_requirementsRead the carrier’s verification requirements before buying a phone number or filing US SMS registration, including required fields and documents. Use it when quote readiness shows verification_required.
Instructions
Read what the carrier needs to verify the organization before it
can buy a number. Call this when quote_numbers shows an offer with
readiness == "verification_required". Read-only.
``country_code`` is ISO alpha-2 (for example ``"GB"``). ``number_type``
is ``local``, ``mobile``, ``national`` or ``toll_free``.
``subject_type`` is required: ``person`` (the user) or ``business``
(the user's company). Never guess it: ask the user "you or your
company?". The result's ``subject_types`` lists what the carrier
accepts. The organization may hold one verification of each. ``quote_id`` is the
offer's ``quote_id`` from quote_numbers. It is required for
``purpose='number'``: the form is the one for that offer.
``purpose`` is ``number`` (default, to buy a number) or ``sms``.
``purpose='sms'`` registers the organization to text US numbers from a
US number (country_code US, number_type local). The carrier fee is
debited from credit at filing. If the error says to pass
``number_id``, pass the ``id`` of one of the organization's US numbers
from list_numbers.
Returns ``required`` (false means no verification is needed and
submit_verification would fail), ``fields`` (values to collect),
``documents`` (slots, each with ``options``), ``address_required``.
Skip any document slot whose ``needs_input`` is false: do not send it.
Ask the USER for every value and every file. Never invent, guess or
infer personal or company data. Never reuse data from another task.
Errors come back as ``{"error": "<message>"}``.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | number | |
| quote_id | No | ||
| number_id | No | ||
| number_type | Yes | ||
| country_code | Yes | ||
| subject_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||