---
title: "Get a profile"
method: GET
path: "/v1/profiles/{profileId}"
tags: ["Profiles"]
---

# Get a profile

`GET /v1/profiles/{profileId}`

## Request

- Base URL: `https://api.postzen.dev`
- URL: `https://api.postzen.dev/v1/profiles/{profileId}`
- Auth: HTTP bearer

Returns a single profile visible to the API key.

## Response `200`

Profile returned.

- ProfileResponse
  - `profile` Profile, required
    - `_id` string, required: PostZen profile id.
    - `userId` string, required: Owner user id.
    - `name` string, required
    - `description` string
    - `color` string, required: Hex color in `#rrggbb` format.
    - `isDefault` boolean, required
    - `createdAt` string, date-time, required

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key does not have sufficient permission or profile access.
- `404`: Resource not found.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/postzen/apis/postzen-public-api.md) · [All operations](https://skmtc.dev/postzen/apis/postzen-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postzen/apis/postzen-public-api/revisions/40863e3710ec?raw)
