Skip to main content

Method

GET /v1/policies/:id

Path Parameters

id
string
required
Policy ID

Query Parameters

locale
string
Response locale

Headers

Authorization
string
required
Bearer token (e.g. Authorization: Bearer YOUR_API_KEY)
curl "https://api.voyantcloud.com/v1/policies/pol_123?locale=en" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "pol_123",
  "workspace_id": "ws_abc",
  "kind": "terms",
  "scope": "generic",
  "status": "active",
  "title": "Terms & Conditions",
  "slug": "terms",
  "description_html": "<p>...</p>",
  "billing_cancellation_policy_id": null,
  "product_id": null,
  "locale": "en",
  "created_at": "2025-01-01T10:00:00Z",
  "updated_at": "2025-01-01T10:00:00Z"
}