---
title: "Set Linkedin Account Schedule"
method: PUT
path: "/linkedin/accounts/{account_id}/schedule"
tags: ["LinkedIn"]
---

# Set Linkedin Account Schedule

`PUT /linkedin/accounts/{account_id}/schedule`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/linkedin/accounts/{account_id}/schedule`
- Auth: HTTP bearer

Set or replace the account's send window.

Written to the sending provider first, then stored; a provider failure is a
502 and nothing changes. A timezone change takes effect at the account's
next local midnight - `effective_from` says exactly when.

## Path parameters

- `account_id` string, required: `account_id` from `GET /linkedin/accounts`.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Request body

- LinkedInScheduleRequest: When an account may send: days, a daily window and its timezone.
  - `days` integer[], required: ISO weekdays, 1 = Monday ... 7 = Sunday.
  - `start_time` string, required: HH:MM, local to `timezone`.
  - `end_time` string, required: HH:MM, local to `timezone`. Must be after `start_time`.
  - `timezone` string, required: IANA timezone, e.g. `Europe/London`.

## Response `200`

Successful Response

- ApiResponseLinkedInSchedule
  - `data` LinkedInSchedule, required: An account's send window.
    - `account_id` string, required
    - `days` integer[], required
    - `start_time` string, required
    - `end_time` string, required
    - `timezone` string, required
    - `effective_from` string, date-time, nullable: When this window starts governing sends. Changes are deferred to the account's next local midnight; today keeps the window it started with.
  - `pagination` PaginationMeta
    - `page` integer, required: Current page number (1-indexed)
    - `limit` integer, required: Items per page
    - `total` integer, required: Total number of items
    - `has_next` boolean, required: Whether there are more pages
    - `next_cursor` string, nullable: Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers.
    - `total_available` integer, nullable: Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search.
    - `total_is_lower_bound` boolean, nullable: Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search.
    - `notes` string[], nullable: Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order.

## Other responses

- `422`: Validation Error

---

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