---
title: "Update account limits"
method: PATCH
path: "/v1/accounts/{id}/limits"
tags: ["accounts"]
---

# Update account limits

`PATCH /v1/accounts/{id}/limits`

## Request

- Base URL: `https://api.botdog.co`
- URL: `https://api.botdog.co/v1/accounts/{id}/limits`
- Auth: API key in header `x-api-key`

Update an account's daily caps, sending days, timezone, and auto-withdraw settings. Caps are clamped to safe maximums.

## Path parameters

- `id` number, required

## Request body

- UpdateAccountLimitsDto
  - `maxDailyInvites` number: Daily connection-invite cap
  - `maxDailyMessages` number: Daily message cap
  - `maxDailyInmails` number: Daily InMail cap
  - `maxDailyProfileVisits` number: Daily profile-visit cap
  - `maxDailyCompanyPageInvitations` number: Daily company-page-invitation cap
  - `maxDailyReactToPosts` number: Daily post-reaction cap
  - `enableAutoWithdrawal` boolean: Whether to auto-withdraw pending invites
  - `inviteWithdrawalDuration` number: Days after which a pending invite is auto-withdrawn (1-91)
  - `activeDaysOfWeek` string[]: Days of the week on which sending is active
  - `timezone` string: IANA timezone used for the daily reset and sending window

## Response `200`

- AccountLimitsDto
  - `accountId` number, required: The account (seat) identifier
  - `ownerId` string, required: The ID of the user who owns this account
  - `timezone` string, required: The timezone used to determine the daily reset boundary
  - `date` string, required: The date (in the account timezone) the usage counts apply to
  - `isCurrentlyThrottled` boolean, required: Whether the account is currently throttled by LinkedIn
  - `activeDaysOfWeek` string[], required: Days of the week on which sending is active
  - `inMailCredit` number, required: Remaining InMail credits
  - `searchesPerDay` number, required: Daily search cap (no per-day usage counter is tracked)
  - `limits` AccountLimitsBreakdownDto, required
    - `invitations` LimitBucketDto, required
      - `limit` number, required: The configured daily cap
      - `usedToday` number, required: How many have been used so far today
      - `remaining` number, required: Remaining quota for today (never negative)
    - `messages` LimitBucketDto, required
      - `limit` number, required: The configured daily cap
      - `usedToday` number, required: How many have been used so far today
      - `remaining` number, required: Remaining quota for today (never negative)
    - `profileVisits` LimitBucketDto, required
      - `limit` number, required: The configured daily cap
      - `usedToday` number, required: How many have been used so far today
      - `remaining` number, required: Remaining quota for today (never negative)
    - `inmails` LimitBucketDto, required
      - `limit` number, required: The configured daily cap
      - `usedToday` number, required: How many have been used so far today
      - `remaining` number, required: Remaining quota for today (never negative)
    - `companyPageInvitations` LimitBucketDto, required
      - `limit` number, required: The configured daily cap
      - `usedToday` number, required: How many have been used so far today
      - `remaining` number, required: Remaining quota for today (never negative)
    - `reactToPosts` LimitBucketDto, required
      - `limit` number, required: The configured daily cap
      - `usedToday` number, required: How many have been used so far today
      - `remaining` number, required: Remaining quota for today (never negative)

## Other responses

- `401`: Unauthorized. API key is missing or invalid.
- `403`: The key owner has no seat assigned (write endpoints only), the team is on Botdog Managed and so may only read (write endpoints only), or the subscription/plan does not permit this.
- `404`: Account not found
- `429`: Rate limit exceeded. Retry after cooldown.

---

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