Skip to main content
POST
/
moscowroleplay
/
civops
/
ads
Create Ad Request
curl --request POST \
  --url https://api.erlcrussia.xyz/v2/moscowroleplay/civops/ads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "1104388035199639585",
  "username": "forziknerves",
  "businessName": "UKpanik",
  "address": "Артемовск, Площадь Ленина 5"
}
'
{
  "success": true,
  "userId": "1104388035199639585",
  "businessName": "UKpanik",
  "address": "Артемовск, Площадь Ленина 5",
  "adSent": true
}

Authorizations

Authorization
string
header
required

API key for accessing CivOps endpoints.

Passed in the Authorization: Bearer <key> header.

REQUIRED FOR ALL CIVOPS ENDPOINTS (except /health).

Query Parameters

action
enum<string>
required

Operation type.

Available options:
create

Body

application/json
userId
string

User ID.

username
string

Username.

businessName
string

Business name.

address
string

Business address.

Response

Request successfully created.

The response is of type object.