---
title: "Get a client profile"
method: GET
path: "/v0/profiles/{id}"
tags: ["Client Profiles"]
---

# Get a client profile

`GET /v0/profiles/{id}`

## Request

- Base URL: `https://api.schedulin.app`
- URL: `https://api.schedulin.app/v0/profiles/{id}`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (authorization code, authorization URL `https://api.schedulin.app/oauth/authorize`, token URL `https://api.schedulin.app/oauth/token`, scopes: `social-accounts:read`)

Get a client profile by its id or by the externalId you assigned, with its connected social accounts.

## Path parameters

- `id` string, required: The profile id or the externalId you assigned to it.

## Response `200`

OK

- ClientProfile
  - `id` string, required
  - `externalId` string, nullable, required
  - `name` string, required
  - `socialAccounts` object[], required
    - `id` string, required
    - `platform` 'bluesky' | 'facebook' | 'google_business_profile' | 'instagram' | 'linkedin' | 'pinterest' | 'reddit' | 'snapchat' | 'threads' | 'tiktok' | 'tiktok_business' | 'twitter' | 'youtube' | 'mastodon' | 'telegram' | 'devto' | 'hashnode' | 'medium' | 'wordpress' | 'lemmy' | 'nostr' | 'discord' | 'dribbble' | 'farcaster' | 'kick' | 'listmonk' | 'mewe' | 'moltbook' | 'skool' | 'slack' | 'twitch' | 'vk' | 'whop', required
    - `status` 'connected' | 'disconnected', required
    - `disconnectedReason` 'TOKEN_EXPIRED' | 'TOKEN_INVALID' | 'TOKEN_REVOKED' | 'REFRESH_FAILED' | 'ACCOUNT_SUSPENDED' | 'PERMISSION_DENIED' | 'EMAIL_UNCONFIRMED', nullable, required
    - `username` string, nullable, required
    - `displayName` string, nullable, required
    - `handle` string, nullable, required: The account's platform @handle when known (e.g. TikTok username), without the @. Null when unknown.
    - `profileImageUrl` string, nullable, required
    - `refreshTokenValid` boolean, required
    - `analyticsDisabledAt` string, date-time, nullable, required
    - `webhookSubscriptionFailedAt` string, date-time, nullable, required
    - `profileId` string, nullable, required
    - `connectedVia` object, nullable, required: The platform profile whose login connected this account (e.g. the Facebook user a Page was connected through). Null when unknown.
      - `id` string, required
      - `name` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: Bad Request — the request isn't allowed in the resource's current state (e.g. editing a published post).
- `401`: Unauthorized — missing or invalid API key / access token.
- `403`: Forbidden — the credential lacks the required scope or access.
- `404`: Not Found
- `422`: Unprocessable request. Schema validation failures have `code: "INPUT_VALIDATION_FAILED"` and `data.fieldErrors` mapping each invalid field to its messages (nested issues name their full path, e.g. `media[0].url: ...`). Business-rule rejections (e.g. a `scheduledAt` in the past) have `code: "UNPROCESSABLE_CONTENT"` and carry the reason in `data.message` and `data.formErrors`.
- `429`: Rate limit exceeded. Wait `Retry-After` seconds before retrying.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/schedulin/apis/schedulin-api.md) · [All operations](https://skmtc.dev/schedulin/apis/schedulin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/schedulin/apis/schedulin-api/revisions/17e886f3bcf3?raw)
