Skip to main content
GET
/
api
/
projects
/
{projectId}
/
approvals
Get project with approvals
curl --request GET \
  --url https://api.example.com/api/projects/{projectId}/approvals \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "version": "v1",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "key": "<string>",
  "protected": true,
  "deletedAt": "<string>",
  "decisionsApprovalMode": "require_one_per_team",
  "decisionsApprovalGroups": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "description": "<string>",
      "roleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Authorizations

Authorization
string
header
required

Personal access token is obtained through your profile

Path Parameters

projectId
string<uuid>
required

Unique identifier of the project

Response

200 - application/json

Project details with approval configuration

Project details with approval configuration

id
string<uuid>
required

Unique identifier of the project

name
string
required

Name of the project

organisationId
string<uuid>
required

Organisation ID the project belongs to

version
enum<string>
required

Project version (v1 or v2)

Available options:
v1,
v2
createdAt
string
required

Timestamp when the project was created

updatedAt
string
required

Timestamp when the project was last updated

key
string

Unique key identifier for the project

protected
boolean

Whether the project is protected from deletion

deletedAt
string | null

Timestamp when the project was soft deleted

decisionsApprovalMode
enum<string> | null

Approval mode for decisions

Available options:
require_one_per_team,
none_create_request,
require_any,
none,
decisionsApprovalGroups
object[]

Groups required for decision approvals