Embeds

Get the policy embed

GET
/{projectId}/embeds/policies/{documentId}

Returns the published version of one of the organization's public policies as sanitized HTML.

Authorization

SessionAuth
x-session<token>

In: header

Path Parameters

projectId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
documentId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Query Parameters

lang?string
Default"en"

Value in

  • "ar"
  • "bg"
  • "bn"
  • "bs"
  • "ca"
  • "cs"
  • "da"
  • "de"
  • "el"
  • "en"
  • "es"
  • "et"
  • "eu"
  • "fi"
  • "fr"
  • "ga"
  • "gl"
  • "gu"
  • "he"
  • "hi"
  • "hr"
  • "hu"
  • "id"
  • "is"
  • "it"
  • "ja"
  • "kn"
  • "ko"
  • "lt"
  • "lv"
  • "mk"
  • "ml"
  • "mr"
  • "mt"
  • "nb"
  • "nl"
  • "pa"
  • "pl"
  • "pt"
  • "ro"
  • "ru"
  • "sk"
  • "sl"
  • "sq"
  • "sr"
  • "sv"
  • "ta"
  • "te"
  • "th"
  • "tr"
  • "uk"
  • "ur"
  • "vi"
  • "zh"
  • "zh-Hant"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/497f6eca-6276-4993-bfeb-53cbbbba6f08/embeds/policies/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "language": "string",  "name": "string",  "html": "string",  "publishedAt": "string",  "version": -9007199254740991,  "labels": {    "lastUpdated": "string"  }}