---
title: "Get user Denylist flag"
method: GET
path: "/v1/users/denylist/{identifyId}"
tags: ["Users"]
---

# Get user Denylist flag

`GET /v1/users/denylist/{identifyId}`

## Request

- Base URL: `https://app.aptrinsic.com`
- URL: `https://app.aptrinsic.com/v1/users/denylist/{identifyId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/gainsight/apis/gainsight-px-rest-api/docs/v1/users/denylist/:identifyId/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns true if the user is marked as denied

## Path parameters

- `identifyId` string, required

## Response `200`

OK

- GetUserDenylistFlagResponse: User Denylist Flag Response
  - `denied` boolean
  - `identifyId` string

## Other responses

- `204`: No Content
- `400`: Bad request
- `401`: Unauthorized or bad API Key
- `403`: Access denied
- `404`: User not found by id
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/gainsight/apis/gainsight-px-rest-api.md) - [All operations](https://skmtc.dev/gainsight/apis/gainsight-px-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gainsight/apis/gainsight-px-rest-api/revisions/e7b197b373d8?raw)
