Skip to main content
POST
/
v1
/
projects
Create a project
curl --request POST \
  --url https://api.strait.dev/v1/projects \
  --header 'Content-Type: application/json' \
  --header 'X-Internal-Secret: <api-key>' \
  --data '
{
  "id": "<string>",
  "name": "<string>",
  "org_id": "<string>"
}
'
{
  "created_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "name": "<string>",
  "org_id": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "$schema": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.strait.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Internal-Secret
string
header
required

Internal service-to-service authentication

Body

application/json
id
string
required
name
string
required
org_id
string
required

Response

OK

created_at
string<date-time>
required
id
string
required
name
string
required
org_id
string
required
updated_at
string<date-time>
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.strait.dev/schemas/Project.json"