v1

latestOpenAPI 3.1.02026-08-04164270844.7 KB
Paths

Add tokens

🔑

Required OAuth scope: tokens:write.

Add tokens to a specific group for a given path.

post/api/v2/paths/add-tokens

Headers

360-api-version'v2.0' required

The version of the API.

Request body

authorIdstring ObjectId required

The unique ID of the user adding the tokens.

groupIdstring ObjectId required

The unique ID of the group to which tokens are being added.

numberTokensBoughtinteger required

The number of tokens being added.

pathIdstring ObjectId required

The unique ID of the path associated with the tokens.

Example request

{
  "authorId": "507f1f77bcf86cd799439011",
  "groupId": "507f1f77bcf86cd799439011",
  "pathId": "507f1f77bcf86cd799439011"
}

Response

Add tokens.