---
title: "Check Access"
method: GET
path: "/checkAccess"
tags: ["Account"]
---

# Check Access

`GET /checkAccess`

## Request

- Base URL: `https://antipublic.one/api/v2`
- URL: `https://antipublic.one/api/v2/checkAccess`
- Auth: HTTP bearer

Checks your license.

## Response `200`

Successful response

- object
  - `success` boolean
  - `userId` integer: User id inside antipublic system
  - `origin` object
    - `source` string
    - `id` integer
  - `subscription` object
    - `type` 'default' | 'plus' | 'premium'
    - `duration` integer
    - `validUntil` integer
    - `activatedAt` integer
    - `availableQueries` AvailableQueries
      - `checkLines` integer, nullable
      - `emailSearch` integer, nullable
      - `passwordSearch` integer, nullable
  - `threads` AvailableThreads
    - `checkLines` integer, nullable
    - `emailPasswords` integer, nullable
    - `search` integer, nullable
  - `availableQueries` AvailableQueries
    - `checkLines` integer, nullable
    - `emailSearch` integer, nullable
    - `passwordSearch` integer, nullable
  - `permissions` object
    - `checkLines` object
      - `forceInsert` boolean
    - `emailPasswords` object
      - `hasAccess` boolean
    - `search` object
      - `usePages` boolean
      - `searchBy` object
        - `email` boolean
        - `password` boolean
        - `domain` boolean

## Other responses

- `403`: Error response

---

[API](https://skmtc.dev/antipublic/apis/antipublic-one-api.md) - [All operations](https://skmtc.dev/antipublic/apis/antipublic-one-api/llms.txt) - [OpenAPI document](https://skmtc.dev/antipublic/apis/antipublic-one-api/revisions/c78135b04d38?raw)
