---
title: "Get API key details"
method: GET
path: "/api/v1/partner-portal/api-keys/"
tags: ["Partner Portal"]
---

# Get API key details

`GET /api/v1/partner-portal/api-keys/`

## Request

- Base URL: `https://docs.thredfi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.thredfi.com/api/v1/partner-portal/api-keys/`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
  - HTTP bearer
  - HTTP bearer

Returns current API key (masked)

## Response `200`

- PartnerAPIKey: Serializer for partner API key (masked)
  - `api_key` string, required
  - `created_at` string, date-time, required
  - `portal_enabled` boolean, required
  - `max_portal_users` integer, required

## Other responses

- `400`: Validation errors in request data
- `401`: Authentication required - missing or invalid API key
- `403`: Permission denied - insufficient privileges
- `404`: Resource not found
- `409`: Conflict - resource already exists or invalid state transition
- `422`: Unprocessable entity - business logic validation failed
- `500`: Internal server error

---

[API](https://skmtc.dev/thredfi/apis/thredfi-accounting-platform-api.md) - [All operations](https://skmtc.dev/thredfi/apis/thredfi-accounting-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thredfi/apis/thredfi-accounting-platform-api/revisions/0c1918254db3?raw)
