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

Example:

"apiKey"

action
string
required

Action to be performed, set to refill_status

Example:

"refill_status"

refills
string
required

Refill IDs separated by a comma, up to 100 IDs

Example:

"1,2,3"

Response

200
application/json
OK
refill
integer
Example:

1

status
Example:

"Completed"