# Create

{% hint style="danger" %}
This endpoint is only available for user tokens, **not project keys**!
{% endhint %}

## Create

<mark style="color:green;">`POST`</mark> `https://api.suble.io/projects`

#### Headers

| Name          | Type   | Description |
| ------------- | ------ | ----------- |
| Authorization | string | User token  |

#### Request Body

| Name       | Type   | Description                                       |
| ---------- | ------ | ------------------------------------------------- |
| creditcard | string | Credit card used for project billing              |
| name       | string | Project name                                      |
| usecase    | array  | Options Available: Personal, Business & Reselling |

{% tabs %}
{% tab title="200 " %}

```
{
    "_id": ObjectId,
    "name": String,
    "created": Number, //Unix timestamp
    "balance": Number,
    "user": ObjectId,
    "usecase": String,
    "support": String,
    "members": [
        {
            "id": ObjectId
        }
    ]
}
```

{% endtab %}

{% tab title="400 " %}

```
{
    "error": String
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.suble.io/project/create.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
