# Verify phone
# Verified phones
# Description
You can use this API to verify phone to be an sms source number.
# Endpoint
POST https://019sms.co.il/api
# Parameters
Name | Type | Description | Required |
---|---|---|---|
verify_phone | object | Contains all other elements. | ✔️ |
user | object | Contains the user element. | ✔️ |
username | string | The username of the account by which you are recognized in the system | ✔️ |
phone | object | The phone you want to use as a sms source number (one or more), Must be a legal mobile or landline number. | ✔️ |
# Request Example
xml
Copy code
# Response Example
xml
Copy code
Note
Full description of the response status and message can be found in here:
# Get verified phones
# Description
You can use this API to receive all verified phones.
# Endpoint
POST https://019sms.co.il/api
# Parameters
Name | Type | Description | Required |
---|---|---|---|
getVerifiedPhones | object | Contains all other elements. | ✔️ |
user | object | Contains the user element. | ✔️ |
username | string | The username of the account by which you are recognized in the system | ✔️ |
is_subs | int | If you want to return the verified numbers of your users put 1, if not, do not put the field. | ➖ |
# Request Example
xml
Copy code
# Response Example
xml
Copy code
Note
Full description of the response status and message can be found in here: