POST
/
api
/
v2
/
curl --request POST \
  --url https://undrctrl.id/api/v2/ \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "add",
  "groups": "group1\ngroup2\ngroup3",
  "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 invites from groups order

groups
string
required

List of groups separated by '\r\n' or '\n' from which invites are needed

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 invites from groups order

Response

200 - application/json
order
integer