Policies

Get policies

Gets the policies for an organization.

GET
/organizations/{organizationId}/policies
x-api-key<token>

In: header

Path Parameters

organizationIdstring
Formatuuid

Query Parameters

id?|string
name?string
Lengthlength <= 256
status?array<string>
description?string
Lengthlength <= 512
sort?string
Value in"dateCreated" | "dateUpdated" | "id" | "name" | "description" | "status"
type?array<string>
order?string
offset?integer
Default0
Range0 <= value
limit?integer
Default100
Rangevalue <= 1000

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/policies"
{
  "offset": 0,
  "count": 0,
  "total": 0,
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "dateCreated": 0,
      "dateUpdated": 0,
      "type": "aiPolicy",
      "name": "string",
      "status": "active",
      "description": "string",
      "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
      "answers": [
        {
          "questionId": "string",
          "answer": "string"
        }
      ],
      "html": "string",
      "associatedProjects": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      ],
      "includeCookies": true
    }
  ]
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "string"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Forbidden"
}
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "Forbidden"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Not Found"
}
{
  "statusCode": 422,
  "error": "Unprocessable Entity",
  "message": "string"
}
{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "Internal Server Error"
}