Updates an agent’s working hours and scheduling settings. Changes are applied immediately and the scheduler is re-triggered if the agent is running.
| Parameter | Type | Required | Description |
|---|---|---|---|
agentId | string | Yes | The agent ID to update |
| Field | Type | Description |
|---|---|---|
days | string | Working days (Mon-Sun). Format: 1:1:1:1:1:0:0 where 1=active, 0=off |
start | string | Start time in HH:MM format (24-hour) |
stop | string | End time in HH:MM format (24-hour) |
| Field | Type | Description |
|---|---|---|
invitationsMin | integer | Minimum daily invitations (1-100) |
invitationsMax | integer | Maximum daily invitations (2-100) |
messagesMin | integer | Minimum daily messages (1-500) |
messagesMax | integer | Maximum daily messages (2-500) |
| Key | Type | Description |
|---|---|---|
skipInNetwork | boolean | Don’t send messages to prospects already in your LinkedIn network |
invitationsOnly | boolean | Only send invitations, skip follow-up messages |
days parameter uses a colon-separated format representing Monday through Sunday:
| Position | Day |
|---|---|
| 1st | Monday |
| 2nd | Tuesday |
| 3rd | Wednesday |
| 4th | Thursday |
| 5th | Friday |
| 6th | Saturday |
| 7th | Sunday |
1:1:1:1:1:0:0 - Monday to Friday1:1:1:1:1:1:0 - Monday to Saturday0:1:1:1:1:1:0 - Tuesday to SaturdayBearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the agent
Agent settings to update