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

Body

application/json
key
string
required

The API key for authentication

action
string
required

Action to be performed, set to add for invites from groups order

service
integer
required

Service ID for the invites from groups order

link
string
required

Link to the page for the order

quantity
integer
required

Needed quantity for the order

groups
string
required

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

Response

200 - application/json
order
integer