Confirm a verification with a code
confirm_verificationWhen a registration shows confirmation 'code', ask the person for the code the carrier texted and submit it here.
Instructions
When a registration shows confirmation 'code', ask the person for the code the carrier texted and submit it here.
``verification_id`` comes from submit_verification or
list_verifications. ``code`` is 4 to 10 characters. A wrong or expired
code is an error naming ``code``; the carrier sends a new one after a
day. On success the registration moves on; poll get_verification
until ``approved``. A ``confirmation`` of ``reply`` means the person
answers the carrier's text instead; nothing is entered here.
Returns the verification or ``{"error": "<message>"}``.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| verification_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||