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

# Check Access

`GET /checkAccess`

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.net/antipublic/apis/antipublic-one-api.md) · [All operations](https://skmtc.net/antipublic/apis/antipublic-one-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/antipublic/antipublic-one-api/versions/c78135b04d38/schema)
