Get status of otp

GET /otp/status

get status of otp

Query parameters

  • id string

    Identifier or the object

Responses

GET /otp/status
curl \
 -X GET https://api.goove.id/v1/otp/status \
 -H "X-API-KEY: $API_KEY"
Response examples (200)
{
  "otpID": "string",
  "redirectLink": "string",
  "phone_snippet": "string",
  "method": "string",
  "createdAt": "2023-05-04T09:42:00+00:00",
  "validUntil": "2023-05-04T09:42:00+00:00",
  "custom_data": "string",
  "otpValidated": {
    "otpValidated": true,
    "validatedDuration": 42,
    "otpValidatedAt": "2023-05-04T09:42:00+00:00"
  },
  "sendStatus": {
    "sendAt": "2023-05-04T09:42:00+00:00"
  },
  "error": {
    "createdAt": "2023-05-04T09:42:00+00:00",
    "cause": "string",
    "explenation": "string"
  }
}
Response examples (200)
{
  "otpID": "string",
  "redirectLink": "string",
  "phone_snippet": "string",
  "method": "string",
  "createdAt": "2025-05-04T09:42:00+00:00",
  "validUntil": "2025-05-04T09:42:00+00:00",
  "custom_data": "string",
  "otpValidated": {
    "otpValidated": true,
    "validatedDuration": 42,
    "otpValidatedAt": "2025-05-04T09:42:00+00:00"
  },
  "sendStatus": {
    "sendAt": "2025-05-04T09:42:00+00:00"
  },
  "error": {
    "createdAt": "2025-05-04T09:42:00+00:00",
    "cause": "string",
    "explenation": "string"
  }
}
Response examples (400)
"string"
Response examples (400)
string
Response examples (500)
"string"
Response examples (500)
string