---
title: "Test Access"
method: GET
path: "/api/v1/testAccess"
tags: ["Additional API functionality"]
---

# Test Access

`GET /api/v1/testAccess`

## Request

- Base URL: `https://sandbox.przelewy24.pl`
- URL: `https://sandbox.przelewy24.pl/api/v1/testAccess`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/docs/api/v1/testAccess/get.ts> (a function with typed inputs; its response is checked against the schema)

Test the API connection.

REST uses the <a href="#tag/Authentication"><b>"basicAuth"</b></a> authentication standard. The login is the P24 account ID, and the password is the API key (report key) available in the “My data” section.

## Response `200`

OK

- TransactionTestAccess200
  - `data` boolean
  - `error` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

## Changes

- **2026-09-03** `5861a691aa36`: 3 breaking, 1 info
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - api operation id `testAccess` was added

[Operation history](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/changes/api/v1/testAccess/get.md)

---

[API](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation.md) - [All operations](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/revisions/5861a691aa36?raw)
