Skip to main content
POST
/
actions
/
salesnavigator-inmail-profile
/
run
/
schedule
Schedule salesnavigator-inmail-profile action
curl --request POST \
  --url https://api.edges.run/v1/actions/salesnavigator-inmail-profile/run/schedule \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "cron": "<string>",
  "parameters": {},
  "identity_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "identity_mode": "direct",
  "inputs": [
    {
      "sales_navigator_profile_url": "<string>",
      "custom_data": {}
    }
  ],
  "callback": {
    "url": "https://example.com/callback",
    "headers": {}
  },
  "timezone": "<string>",
  "schedule_at": "2023-11-07T05:31:56Z"
}'
{
  "schedule_uid": "<string>",
  "status": "ACTIVE",
  "cron": "<string>",
  "timezone": "<string>",
  "next_execution_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z"
}
To run LinkedIn actions, you must first create an identity and connect a LinkedIn account, either using our Chrome Extension, username/password login, or Rented Accounts for a hassle-free setup.
Callback Delivery: Both async and schedule modes deliver results via the callback URL provided in your request.Consistent Format: All execution modes use the same action logic, so inputs and results are identical regardless of mode.Error Handling: Errors follow the standard API error format.
Using async and schedule modes, you have to implement some kind of callback management. Be sure to check the Managing Callbacks guide to better understand how it works and what your can do.

Authorizations

X-API-Key
string
header
required

Body

application/json
  • Option 1
  • Option 2
inputs
object[]
required
Required array length: 1 - 100 elements
callback
object
required
cron
string
required

Cron expression for scheduling the action. If provided, the action will be scheduled to run at the specified intervals.

Required string length: 1 - 256
parameters
object
identity_ids
string<uuid>[] | null

An array of Identity UUIDs linked to identities (e.g. LinkedIn) used to execute the Action. You must provide at least one valid UID with access to the integration. Do not use account_uid values — only user_uid is supported.

identity_mode
enum<string> | null
default:direct

If "auto", the Action will use any identities from the current workspace (unless you have provided a list of identity_ids). "managed" will use the Edges pool of identities for an extra credit cost

Available options:
direct,
auto,
managed
timezone
string

The timezone to use for the cron expression (IANA timezone format, e.g., "America/New_York" or "Europe/Paris"). If not provided, the UTC timezone will be used.

Required string length: 1 - 64
schedule_at
string<date-time>

This is for one shot or 1st programmation calls. If not provided, the run will be scheduled immediately.

Response

Default Response

schedule_uid
string

The UID of the scheduled run.

status
enum<string>

The status of the scheduled run.

Available options:
ACTIVE,
CANCELLED,
PAUSED,
COMPLETED
cron
string | null

Cron expression for the scheduled run (POSIX format)

timezone
string | null

Timezone for the scheduled run (IANA timezone format)

next_execution_at
string<date-time> | null

Next execution at

created_at
string<date-time>

The date and time when the run was created.

I