Send verification code
Endpoint
Section titled “Endpoint”POST /v1/services/verify/send
Authentication
Section titled “Authentication”Requires Bearer token authentication.
Request Body
Section titled “Request Body”{ "phoneNumber": "+15551234567"}cURL Example
Section titled “cURL Example”curl -X POST "https://api.sapiom.ai/v1/services/verify/send" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "phoneNumber": "+15551234567"}'Response
Section titled “Response”{ "success": true, "data": null, "transaction": null}Error Responses
Section titled “Error Responses”| Status | Code | Description |
|---|---|---|
| 400 | - | Invalid phone number or agent parameters |
| 401 | - | Unauthorized - API key required |
| 404 | - | Agent not found |
See API Introduction for error handling details.