Skip to main content
POST
/
core.v1.PoliciesService
/
GetPolicyVersion
cURL
curl -X POST "https://api.joinformal.com/core.v1.PoliciesService/GetPolicyVersion" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "example": "value"
  }'
{
  "policyVersion": {
    "id": "<string>",
    "policyId": "<string>",
    "version": 123,
    "code": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal console.

Body

application/json
policyId
string
Minimum string length: 1
version
integer<int32>

Response

Success

policyVersion
policy_version · object