Links

post
/links
Authorizations
AuthorizationstringRequired

in header (authorization: bearer [token])

Body
playerTagstringRequired
userIdstringRequired
apiTokenstring | nullableRequired
Responses
post
/links
POST /v1/links HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "playerTag": "text",
  "userId": "text",
  "apiToken": "text"
}

No content

Authorizations
AuthorizationstringRequired

in header (authorization: bearer [token])

Path parameters
playerTagstringRequired
Responses
200Success

No content

delete
/links/{playerTag}
DELETE /v1/links/{playerTag} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Get links by playerTags or userIds

post
/links/query
You can send either "playerTags" or "userIds", not both or none. Max size is 100.
Authorizations
AuthorizationstringRequired

in header (authorization: bearer [token])

Body
playerTagsstring[] · min: 1 · max: 100RequiredExample: ["#2PP"]
userIdsstring[] · min: 1 · max: 100RequiredExample: ["444432489818357760"]
Responses
200Success
application/json
post
/links/query
POST /v1/links/query HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 56

{
  "playerTags": [
    "#2PP"
  ],
  "userIds": [
    "444432489818357760"
  ]
}
[
  {
    "tag": "text",
    "name": "text",
    "userId": "text",
    "username": "text",
    "verified": true
  }
]

Last updated

Was this helpful?