Verification

post

Verify a code sent to a contact

Verifies a code sent to a contact for a specific network

contactstring

required

codestring

required

networkstring

Responses

Request examples

{
  "contact": "string",
  "code": "string",
  "network": "string"
}

Response examples

Verification check succeeded

{
  "status": "pending"
}
post

Send verification code via email or SMS

This endpoint sends verification code

networkstring
methodstring

required

Enum
  • email
  • sms
contactstring

required

If "method" is email then specify and email address. If "method" is a phone then specify a format E.164 format. https://www.twilio.com/docs/glossary/what-e164

Responses

Request examples

{
  "network": "string",
  "method": "email",
  "contact": "string"
}

Response examples

OK

{
  "status": "pending"
}

Was this page helpful?