API Reference
Reference for Simpu's APIs
cURL
curl --request GET \ --url https://api.simpu.co/otp/get-by-recipient \ --header 'Authorization: <api-key>'
[ { "id": "674535b2b39158b9aae90188fcec23eb", "recipient": "2348023456789", "status": 1, "status_desc": "SENT", "created_datetime": "2024-06-28T23:56:38.128604+00:00", "updated_datetime": "2024-06-28T23:56:38.128604+00:00" } ]
Retrieve all OTPs based on the recipient supplied
An API key to authenticate requests
Recipient of OTPs to retrieve
OTP response
The response is of type object[].
object[]