Projects
Create Project
Overview
- Introduction
- Authentication
- Examples
Endpoints
- Identities
- Universal Auth
- Organizations
- Projects
- Environments
- Folders
- Secret Tags
- Secrets
- Secret Imports
- Identity Specific Privilege
- Integrations
- Service Tokens
- Audit Logs
Projects
Create Project
POST
/
api
/
v2
/
workspace
curl --request POST \
--url https://app.infisical.com/api/v2/workspace \
--header 'Content-Type: application/json' \
--data '{
"projectName": "<string>",
"slug": "<string>"
}'
{
"project": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"autoCapitalization": true,
"orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"version": 1,
"upgradeStatus": "<string>",
"_id": "<string>",
"environments": [
{
"name": "<string>",
"slug": "<string>",
"id": "<string>"
}
]
}
}
Body
application/json
The name of the project to create.
An optional slug for the project.
Required string length:
5 - 36
Response
200 - application/json
Default Response
Was this page helpful?
curl --request POST \
--url https://app.infisical.com/api/v2/workspace \
--header 'Content-Type: application/json' \
--data '{
"projectName": "<string>",
"slug": "<string>"
}'
{
"project": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"autoCapitalization": true,
"orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"version": 1,
"upgradeStatus": "<string>",
"_id": "<string>",
"environments": [
{
"name": "<string>",
"slug": "<string>",
"id": "<string>"
}
]
}
}