For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sits Endpoints

Interface with our Sits Tracking module within your own scripts or applications

CONTENTS

Reset Sits Count

POST v1/sits/reset


Increment Sits Count

POST api.elyxir.dev/v1/sits/increment

Increases the number of sits of a specified user by one.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

user_id

string

Discord ID of the staff member

Response

{
  "user_id": "501777482282958850",
  "sits": 12
}
{
  "error": "Invalid request"
}

Decrement Sits Count

POST api.elyxir.dev/v1/sits/decrement

Decreases the number of sits of a specified user by one.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

user_id

string

Discord ID of the staff member

Response

Get Sits Count

GET api.elyxir.dev/v1/sits/count

Gets the number of sits held by a specified user

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

user_id

string

Discord ID of the staff member

Response

Reset Sits Count

POST api.elyxir.dev/v1/sits/reset

Resets the number of sits for a specified user

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

user_id

string

Discord ID of the staff member

Response

Suggest an additional endpoint

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.

Contact us within our Discord server to suggest endpoints.

Last updated