# 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 %}
