POST
/
api
/
v2
/
curl --request POST \
  --url https://undrctrl.id/api/v2/ \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "apiKey",
  "action": "refill_status",
  "refills": "1,2,3"
}'
[
  {
    "refill": 1,
    "status": "Completed"
  }
]

Body

application/json
key
string
required

The API key to fetch the refill statuses

action
string
required

Action to be performed, set to refill_status

refills
string
required

Refill IDs separated by a comma, up to 100 IDs

Response

200 - application/json
refill
integer
status