POST
/
registerNumber
curl --location --request POST 'https://api.byteflow.app/registerNumber' \
--header 'Content-Type: application/json' \
--header 'api_key: <api_key>' \
--data-raw '{
    "phone_number": "+11234567890"
}'
{
  "data": {},
  "error": {}
}

Body

phone_number
string

This is the phone number to register

Headers

api_key
string

This is the API key you created in the dashboard. For more info take a look at Authentication

Response

data
string | undefined

If successful (code 200) will contain the message Your phone number has been registered

error
string | array | undefined

If the API errored this will contain the error. This can also be an array in addition to being a string if there are validation errors.