> For the complete documentation index, see [llms.txt](https://exiles-interactive.gitbook.io/centarius-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://exiles-interactive.gitbook.io/centarius-api-documentation/lets-get-you-registered.md).

# Let's get you registered!

The first step to using the Centarius API is registering your game on our system. This is very simple, and only requires one API call. Please ensure you call this *only once*, and not at initialization on your game code. It is best done via terminal or a tool like Postman, as you will never need to run this again. The call will output a *game ID*. This is unique to your game, and will be used in every API call in game code. It *must* be secret, as it can be used to manipulate the API calls.

#### Request URL

```http
POST https://www.centarius.app/add-game/
```

#### Request Body

<table><thead><tr><th width="150">Name</th><th width="114">Required</th><th width="126">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>name</code></td><td><code>True</code></td><td><code>string</code></td><td>The name of your game.</td></tr></tbody></table>

#### Response&#x20;

<table><thead><tr><th width="166">Code</th><th width="176">Type</th><th>Response</th></tr></thead><tbody><tr><td><code>200</code></td><td><code>JsonResponse</code></td><td><code>{"game_id" : your_id}</code> </td></tr><tr><td><code>500</code></td><td><code>JsonResponse</code></td><td><code>{'error': Exception as str}</code></td></tr></tbody></table>
