People

Get the policies you owe

GET
/organizations/{organizationId}/people/me/policies

Lists the required policies the signed-in member still owes, matched to the personnel list by their login email. A member who isn't on it gets an empty list.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/organizations/string/people/me/policies"
{  "organizationName": "string",  "personName": "string",  "policies": [    {      "requiredPolicyId": "string",      "documentId": "string",      "releaseId": "string",      "version": -9007199254740991,      "name": "string",      "statement": "string",      "language": "string",      "status": "pending",      "dueAt": null,      "content": {        "kind": "lexical",        "body": "string"      },      "isTraining": true,      "videoUrl": "string",      "quiz": {        "items": [          {            "id": "string",            "type": "text",            "label": "string",            "title": "string",            "description": "string",            "placeholder": "string",            "options": [              {                "value": "string",                "label": "string",                "disabled": true              }            ],            "defaultValue": "string",            "validationRules": {              "type": "string",              "required": true,              "min": -9007199254740991,              "max": -9007199254740991,              "pattern": "string"            },            "componentId": "string",            "entityKind": "control",            "checkedChildren": "string",            "uncheckedChildren": "string",            "sectionId": "string",            "visibleIf": {              "type": "field-equals",              "field": "string",              "value": "string"            },            "prefillFrom": "string",            "correctAnswers": [              "string"            ],            "order": -9007199254740991,            "children": {              "condition": "string",              "items": [                {                  "id": "string",                  "type": "text",                  "label": "string",                  "title": "string",                  "description": "string",                  "placeholder": "string",                  "options": [                    {                      "value": "string",                      "label": "string",                      "disabled": true                    }                  ],                  "defaultValue": "string",                  "validationRules": {                    "type": "string",                    "required": true,                    "min": -9007199254740991,                    "max": -9007199254740991,                    "pattern": "string"                  },                  "componentId": "string",                  "entityKind": "control",                  "checkedChildren": "string",                  "uncheckedChildren": "string",                  "sectionId": "string",                  "visibleIf": {                    "type": "field-equals",                    "field": "string",                    "value": "string"                  },                  "prefillFrom": "string",                  "correctAnswers": [                    "string"                  ],                  "order": -9007199254740991                }              ]            }          }        ],        "passPercent": -9007199254740991      }    }  ],  "acknowledged": [    {      "requiredPolicyId": "string",      "name": "string",      "version": -9007199254740991,      "acknowledgedAt": null,      "isTraining": true    }  ]}