---
title: "Create Cloud Provider Token"
method: POST
path: "/cloud-tokens"
tags: ["Cloud Tokens"]
---

# Create Cloud Provider Token

`POST /cloud-tokens`

Create a new cloud provider token. The token will be validated before being stored.

## Request body

- object
  - `provider` 'hetzner' | 'digitalocean' | 'vultr', required — The cloud provider.
  - `token` string, required — The API token for the cloud provider.
  - `name` string, required — A friendly name for the token.

## Response `201`

Cloud provider token created.

- object
  - `uuid` string — The UUID of the token.

## Other responses

- `400` — Invalid token.
- `401` — Unauthenticated.
- `422` — Validation error.

---

[API](https://skmtc.net/coollabsio/apis/coolify.md) · [All operations](https://skmtc.net/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/coolify/revisions/08be5dc8e729/schema)
