---
title: "POST /v1/self-hosted/activations"
method: POST
path: "/v1/self-hosted/activations"
tags: ["v1"]
---

# POST /v1/self-hosted/activations

`POST /v1/self-hosted/activations`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/v1/self-hosted/activations`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- ActivationRequest
  - `instance_id` string, uuid, required
  - `version` string
  - `deployment_type` string
  - `license_key_hash` string

## Response `200`

OK

- ActivationResponse
  - `gateway_url` string, uri, required
  - `access_token` string, nullable, required
  - `expires_in` integer, required
  - `allowed_services` string[], required
  - `allowed_models` string[], required
  - `scope` 'oss' | 'enterprise', required

## Other responses

- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
