GET
/
otp
/
{id}
cURL
curl --request GET \
  --url https://api.simpu.co/otp/{id} \
  --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"
}

Authorizations

Authorization
string
header
required

An API key to authenticate requests

Path Parameters

id
string
required

ID of OTP to retrieve

Response

OTP response

id
string
required

ID of the OTP token

Example:

"674535b2b39158b9aae90188fcec23eb"

recipient
string
required

Recipient of the OTP token

Example:

"2348023456789"

status
number
required

Status of the OTP token

Example:

1

status_desc
string
required

Description of the status of the OTP token

Example:

"SENT"

created_datetime
string
required

Date and time the OTP token was created

Example:

"2024-06-28T23:56:38.128604+00:00"

updated_datetime
string

Date and time the OTP token was last updated, if any

Example:

"2024-06-28T23:56:38.128604+00:00"