Reqeust And Response

This page describes the Request and Response formats and Authentication.

Endpoints

https://api.t4b.top
https://api2.t4b.top (Beta)

Reqeust Body

Dont forgot to replace Token with your api token.

{
  "Authentication": "Bearer {{Token}}",
  "Content-Type": "application/json",
  "Body": {}
}

Reponse formats

On success, the HTTP status code in the response header is 200 OK and the response body contains the requested data.

{
  "statusCode": 200,
  "data": {}
}

On error, the header status code is an error code and the response body contains an error object.

{
  "statusCode": 400,
  "error": "Bad Request",
  "message": ["Invalid request payload input"]
}

On this page