Skip to main content
POST
https://api.folkyn.com
/
api
/
v1
/
project-codes
Create project code
curl --request POST \
  --url https://api.folkyn.com/api/v1/project-codes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "external_id": "<string>"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "external_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <your_api_key>

Body

application/json
name
string
required
external_id
string | null

Response

Created

data
object

Payload returned by POST /api/v1/project-codes (no mission_count or updated_at).