SMS Verification
POST https://api.kickofflabs.com/v2/CAMPAIGN_ID/verify-phone-number
Verify a lead’s phone number with a confirmation code.
Required Parameters
Section titled “Required Parameters”- api_key: Your account’s API Key
- phone_number (recommended), email, or social_id: The identity of the lead you wish to verify.
- code: The code sent to the lead’s phone number.
If you want to verify a lead without using Twilio, you can use the generic Verify Lead API.
JSON response
Section titled “JSON response”Successful response:
{ "message": "Lead verified" }Errors
Section titled “Errors”- If SMS verification is not configured, KickoffLabs returns
409withMissing required Twilio information. - Missing
codereturns409withVerification code not found. - Missing lead identifier returns
409withPlease include a lead id or email. - No matching lead returns
404withNo lead found. - Already verified phone numbers return
409withLead already verified. - Invalid verification codes return
404withVerification code is not valid.