Skip to main content

Method

POST /v1/organizations/:id/capabilities

Path Parameters

id
uuid
required
Organization ID.

Body Parameters

Headers

Authorization
string
Bearer token with organizations:write scope.
content-type
string
application/json

Request Example

curl -X POST https://api.voyantcloud.com/v1/organizations/org_123/capabilities \
  -H "Authorization: Bearer $VOYANT_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "category": "transport",
    "modeKey": "cruise",
    "notes": "Focus on Mediterranean routes"
  }'

Response

{
  "data": {
    "id": "cap_001",
    "organizationId": "org_123",
    "category": "transport",
    "modeId": null,
    "modeKey": "cruise",
    "notes": "Focus on Mediterranean routes",
    "attributes": null,
    "createdAt": "2025-02-20T10:10:00.000Z"
  }
}
Use capabilities to drive feature toggles (for example, enabling transport inventory sync for specific partners). Duplicate entries should be avoided at the application layer.