You can use the search functionality to see the current status or eventual outcome of a Verify request, using the
request_id returned when the verify code was sent.
Replace the following variables in the sample code with your own values:
||Your Nexmo API key|
||Your Nexmo API secret|
||The ID of the Verify request you wish to cancel (this is returned in the API response when you send a verification code)|
Add the following to
curl -X GET "https://api.nexmo.com/verify/search/json?&api_key=$NEXMO_API_KEY&api_secret=$NEXMO_API_SECRET&request_id=$REQUEST_ID"
Save this file to your machine and run it: