POST
/
api
/
v2
/
curl --request POST \
  --url https://undrctrl.id/api/v2/ \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "add",
  "answer_number": 1,
  "key": "apiKey",
  "link": "https://example.com/page",
  "quantity": 100,
  "service": 123
}'
{
  "order": 23501
}

Body

application/json
action
string
required

Action to be performed, set to add for poll order

answer_number
integer
required

Answer number of the poll to be targeted

key
string
required

The API key for authentication

link
string
required

Link to the page for the order

quantity
integer
required

Needed quantity for the order

service
integer
required

Service ID for the poll order

Response

200 - application/json
order
integer