Send verification code
POST {{baseUrl}}/verifications
Requests an SMS verification PIN for the given phone number. Public endpoint, no auth required — called before login.
Response: 200 with an empty body when the PIN was sent. 403 with the plain-text body No user found. if no account matches that phone number.
Request body
Section titled “Request body”{ "phoneNumber": "5551234567", "countryCode": "{{countryCode}}"}Examples
Section titled “Examples”curl --request POST 'https://api.firstdelivery.com/api/verifications' \ --header 'Content-Type: application/json' \ --data '{ "phoneNumber": "5551234567", "countryCode": "{{countryCode}}"}'const response = await fetch("https://api.firstdelivery.com/api/verifications", { "method": "POST", "headers": { "Content-Type": "application/json" }, "body": "{\n \"phoneNumber\": \"5551234567\",\n \"countryCode\": \"{{countryCode}}\"\n}"})const data = await response.json()import requests
response = requests.request( "POST", "https://api.firstdelivery.com/api/verifications", headers={ 'Content-Type': 'application/json'}, data="{\n \"phoneNumber\": \"5551234567\",\n \"countryCode\": \"{{countryCode}}\"\n}",)response.raise_for_status()Saved responses
Section titled “Saved responses”No user found.
