POST
/
v1
/
projects
curl --request POST \
  --url https://api.chainstack.com/v1/projects/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "My public chain project",
  "description": "My public chain project description",
  "type": "public"
}'
{
  "id": "PR-123-456",
  "name": "My public chain project",
  "type": "public",
  "networks": 0,
  "created_at": "2020-06-15T07:38:00.747Z",
  "creator": {
    "id": "UR-111-111-111",
    "email": "john.smith@example.com",
    "first_name": "John",
    "last_name": "Smith",
    "organization": {
      "id": "RG-123-456",
      "name": "My organization"
    }
  }
}

Authorizations

Authorization
string
header
required

Chainstack API uses API keys to authenticate requests. You can view and manage your API keys in the platform UI. Your API keys carry many privileges, so be sure to keep them secure! Provide your API key as the Authorization header. The value of the header consists of Bearer prefix and secret key generated through the platform UI.

curl -X GET 'https://api.chainstack.com/v1/organization/' \
--header 'Authorization: Bearer FX7CWlLg.FMpAO8cgCX2N7s41EncRru2nb5CmTZUt'

All API requests must be made over HTTPS.

Body

application/json
name
string
required

Name of the project.

description
string

Description of the project.

type
enum<string>
default:public

Type of the project. <br>

  • public for public chain project
Available options:
public
created_at
string

When the project was created.

Response

201
application/json
id
string
name
string

Name of the project.

description
string

Description of the project.

type
enum<string>
default:public

Type of the project. <br>

  • public for public chain project
Available options:
public
members
integer

Number of members invited to the consortium project. <br>Only for the consortium project.

networks
integer

Number of networks created in the project.

creator
object

Creator of the project.

created_at
string

When the project was created.