Confirm Verification
Path Parameters
verification_id*Verification Id
Format
uuidHeader Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/verifications/497f6eca-6276-4993-bfeb-53cbbbba6f08/confirm" \ -H "Content-Type: application/json" \ -d '{ "code": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "number_id": "879cdb1c-6045-45ce-871d-5bdb73aa8c39", "country_code": "string", "number_type": "string", "subject_type": "string", "subject_name": "string", "purpose": "string", "state": "string", "rejection_reason": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "submitted_at": "2019-08-24T14:15:22Z", "approved_at": "2019-08-24T14:15:22Z", "confirmation": "string", "step": "confirm_identity", "campaign_accepted": false, "runtime_ready": true, "cancellable": false, "kept_until": "2019-08-24T14:15:22Z", "resubmittable": false, "identity_confirmed": false, "waiting_for_credit": false, "credit_needed_cents": 0}Confirm Sms Trial Phone
Confirm the workspace's trial phone with the texted code. On success the phone receives trial texts. Each code allows 5 tries. A phone can be the trial phone of only one workspace. Console sessions only.
Create Agent
Create an agent. Route numbers to it with PATCH /numbers/{id}, or place calls with it via ``agent_id`` on POST /calls.