Sits Endpoints
Interface with our Sits Tracking module within your own scripts or applications
Last updated
Interface with our Sits Tracking module within your own scripts or applications
POST api.elyxir.dev/v1/sits/increment
Increases the number of sits of a specified user by one.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
user_id
string
Discord ID of the staff member
Response
{
"user_id": "501777482282958850",
"sits": 12
}{
"error": "Invalid request"
}POST api.elyxir.dev/v1/sits/decrement
Decreases the number of sits of a specified user by one.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
user_id
string
Discord ID of the staff member
Response
GET api.elyxir.dev/v1/sits/count
Gets the number of sits held by a specified user
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
user_id
string
Discord ID of the staff member
Response
POST api.elyxir.dev/v1/sits/reset
Resets the number of sits for a specified user
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
user_id
string
Discord ID of the staff member
Response
At Elyxir we ❤️ developers. That's why we're open to hearing any suggestions for extending our API for use within your FiveM scripts and/or applications.
Last updated
{
"user_id": "501777482282958850",
"sits": 12
}{
"error": "Invalid request"
}{
"user_id": "501777482282958850",
"sits": 12
}{
"error": "Invalid request"
}{
"user_id": "501777482282958850",
"sits": 0
}{
"error": "Invalid request"
}