Phone
Send verification code
POST
https://individual-api.synaps.io/v3/phone/send
Send verification code by SMS or Call
Query Parameters
Name | Type | Description |
---|---|---|
step_id | string | Step ID of the phone verification step |
Headers
Name | Type | Description |
---|---|---|
Session-Id | string | Initialized Session-Id |
Request Body
Name | Type | Description |
---|---|---|
method | string | verification method
|
phone_number | string | Phone Number |
country_code | string | Phone Country Code (cf. Country Calling Code Page) (e.g. for France send +33 as country_code value) |
API Response
Field |
| Description |
session_id |
| Session-Id of the phone verification |
Confirm Phone Number
POST
https://individual-api.synaps.io/v3/phone/confirm
Confirm phone number using previously sent authentication code
Query Parameters
Name | Type | Description |
---|---|---|
step_id | string | Step ID of the phone verification step |
Headers
Name | Type | Description |
---|---|---|
Session-Id | string | Initialized Session-Id |
Request Body
Name | Type | Description |
---|---|---|
code | string | authentication code |
Get phone verification details
GET
https://individual-api.synaps.io/v3/phone/details
All information about phone verification details
Query Parameters
Name | Type | Description |
---|---|---|
step_id | string | step_id of the phone verification step |
Headers
Name | Type | Description |
---|---|---|
Session-Id | string | Synaps Session-Id |
Api-Key | string | Synaps Api-Key |
Client-Id | string | Synaps Client-Id |
API Response
PhoneVerificationResponse | Object
PhoneVerificationResponse | Object
Field |
| Description |
phone_country |
| country calling code (see country calling codes reference) |
phone_number |
| phone number |
carrier |
| phone network carrier |
attempts |
| Attempts info |
state |
| Verification state
|
PhoneVerificationCarrier | Object
PhoneVerificationCarrier | Object
Field |
| Description |
phone_country |
| country calling code (see country calling codes reference) |
phone_number |
| phone number |
PhoneVerificationAttempts | Array
PhoneVerificationAttempts | Array
Field |
| Description |
date |
| attempt date (YYYY-MM-DD HH:ii:ss) |
method |
| Verification method
|
Last updated