Verifications
Create a verification
Changed onCreates a new Verification for an account and sends the code to the given phone number.
post/accounts/{account_id}/verifications
Request
- Base URLhttps://api.surge.app
- URLhttps://api.surge.app/accounts/{account_id}/verifications
- AuthHTTP bearer
Path parameters
account_idstring required
The account to associate with the verification.
Example:acct_01j9a43avnfqzbjfch6pygv1td
Request body
Example request
{
"phone_number": "+18015551234"
}Response
Created verification
Example response
{
"attempt_count": 0,
"id": "vfn_01jayh15c2f2xamftg0xpyq1nj",
"phone_number": "+18015551234",
"status": "pending"
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
endpoint added
- info