---
title: "Get the account's premium subscription"
method: GET
path: "/v1/{account_id}/profile/subscription"
tags: ["Users"]
---

# Get the account's premium subscription

`GET /v1/{account_id}/profile/subscription`

## Request

- Base URL: `https://api.curviate.com`
- URL: `https://api.curviate.com/v1/{account_id}/profile/subscription`
- Auth: HTTP bearer

Returns the connected account's LinkedIn premium entitlement inventory, whether it holds Premium, the plan title, and the external manage/cancel/switch links, plus the complete set when the account holds more than one plan. A free account is a valid 200 empty state, not an error.

## Path parameters

- `account_id` string, required

## Response `200`

The account's premium entitlement inventory. A free account is a valid 200 empty state (has_premium:false, all *_url:null, subscriptions:[]) with an identical key set; never a 403. The external manage/cancel/switch URLs are LinkedIn-owned pass-through links.

- object
  - `object` 'profile_subscription', required: Response type discriminator.
  - `has_premium` boolean, required: true when the account holds at least one real premium plan; false for a free account. Keys on a real plan title, not on array length.
  - `plan_title` string, nullable, required: Title of the primary (first) plan; null when free.
  - `description` string, nullable, required: Human status line for the primary plan, or the no-premium message for a free account. Display only, never branch on it.
  - `manage_url` string, nullable, required: External manage URL for the primary plan; null when free.
  - `cancel_url` string, nullable, required: External cancel URL for the primary plan; null when free. May be served over http://, surfaced verbatim.
  - `switch_url` string, nullable, required: External switch/upgrade URL for the primary plan; null when free.
  - `subscriptions` object[], required: The complete entitlement inventory, one item per active plan; [] for a free account. Length > 1 when the account holds multiple concurrent plans. The flat fields mirror subscriptions[0].
    - `object` 'subscription', required: Item type discriminator.
    - `title` string, nullable, required: Plan title, e.g. "Premium Business". Always present for items.
    - `description` string, nullable, required: Human status line for this plan (display only, never branch on it).
    - `manage_url` string, nullable, required: External LinkedIn-owned URL to manage this plan.
    - `cancel_url` string, nullable, required: External LinkedIn-owned URL to cancel this plan (may be served over http://).
    - `switch_url` string, nullable, required: External LinkedIn-owned URL to switch/upgrade this plan.
    - `actions` object, required: This plan's full action map (action key -> external URL). Open-ended; observed keys: manage_subscription, cancel_subscription, switch_plans.
  - `actions` object, required: The primary plan's action map (action key -> external URL); {} for a free account.
  - `safety_warning` SafetyWarning: Present on a successful response when this account crossed an account-safety ceiling while the affected budget row is on the default warn posture. The action still happened. Field-identical to the BUDGET_EXHAUSTED error body except that blocked is false and hint.message describes the outcome, so one branch handles both postures and switching the account to enforce is a configuration change rather than a client rewrite.
    - `row` string, nullable, required: The budget row that breached, for example profile_views or pending_invites. Null when the breach is not about a row: an activity_window warning on an action that spends no budget of its own (editing a message, dismissing a notification, a Recruiter or Sales Navigator admin action) is still governed by the hours the account works in. Read hint.parameter for what to change; whenever this is null it names posture, because the activity window edges are set per action type and this action has none, so the levers that reach it are the account timezone and posture.
    - `reset_at` string, nullable, required: The instant the refusal lifts: the window roll on a ceiling refusal, the next window open on an activity-window one. Null in the two cases no clock frees, the pending_invites gauge and InMail credits (row inmail).
    - `hint` object, required
      - `parameter` string, required: The settable parameter on PATCH /v1/{account_id}/safety-policy.
      - `message` string, required: What the condition is and what changing that parameter would do. This is the one field whose text differs from the BUDGET_EXHAUSTED refusal: here it says the action went through, and on a ceiling breach how far past the ceiling this row now stands, rather than telling you to set posture to warn when it already is. Branch on parameter, reason and blocked, never on this text.
    - `reason` 'ceiling' | 'activity_window', required: Which rule was crossed. ceiling means the row's configured limit is spent; activity_window means the account is outside the hours it works in, which is a different fact with a different remedy. hint.parameter names the right setting for each.
    - `blocked` boolean, required: Always false here. True on the BUDGET_EXHAUSTED refusal carrying the same payload.

## Other responses

- `400`: Invalid request, a query parameter failed validation.
- `401`: The connected LinkedIn account's session is disconnected, reconnect the account.
- `404`: The account_id does not belong to this tenant, or the account is unknown. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id.
- `429`: Rate limited, slow down and retry after the hinted delay.
- `500`: Internal error.
- `502`: A temporary upstream error occurred, or the upstream response could not be interpreted. Check `retry_likely_to_succeed`: a temporary error is worth retrying, a response that could not be interpreted is not, and carries `retry_hint: {"kind": "never"}`.
- `503`: Service unavailable.
- `504`: Gateway timeout.

---

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