> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gosentrix.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick Start

> Get started with the GoSentrix API in 5 minutes

This guide will help you make your first API call to GoSentrix.

## Prerequisites

* A GoSentrix account (sign up at [app.gosentrix.io](https://app.gosentrix.io))
* `curl` or your preferred HTTP client

## Step 1: Sign Up

Create a new account:

<RequestExample>
  ```bash theme={null}
  curl -X POST https://api.gosentrix.io/api/v1/auth/signup \
    -H "Content-Type: application/json" \
    -d '{
      "email": "your-email@example.com",
      "password": "YourSecurePassword123!",
      "tenant_name": "My Company"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
    "refresh_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
    "expires_in": 900,
    "user": {
      "id": "user-123",
      "email": "your-email@example.com"
    },
    "tenant": {
      "id": "tenant-456",
      "name": "My Company"
    }
  }
  ```
</ResponseExample>

## Step 2: Verify Email

Check your email and click the verification link, or use the API:

<RequestExample>
  ```bash theme={null}
  curl -X POST https://api.gosentrix.io/api/v1/auth/verify-email \
    -H "Content-Type: application/json" \
    -d '{
      "token": "VERIFICATION_TOKEN_FROM_EMAIL"
    }'
  ```
</RequestExample>

## Step 3: Make Your First API Call

List your tenants:

<RequestExample>
  ```bash theme={null}
  curl -X GET https://cp.gosentrix.io/api/v1/tenants \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "results": [
      {
        "id": "tenant-456",
        "name": "My Company",
        "slug": "my-company",
        "status": "active",
        "created_at": "2024-01-01T00:00:00Z"
      }
    ],
    "count": 1
  }
  ```
</ResponseExample>

## Next Steps

* Read the [Authentication Guide](/authentication)
* Explore the [API Reference](/authentication-api/signup)
* Set up [Webhooks](/control-plane-api/webhooks)
* Review [Error Handling](/guides/error-handling)
