Create Scheduled Task

Create a new scheduled task.

Args: request: Task creation request user_org_data: Current user and organization data

Returns: Dictionary with the created task ID

post/scheduled-tasks

Request

  • Base URL: https://api.every.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.every.ai/scheduled-tasks
  • Auth: none declared

Request body

task_typestring required

Type of task (send_invoice, send_expense, etc.)

resource_typestring required

Type of resource (invoice, expense, etc.)

resource_idstring required

ID of the resource to schedule

scheduled_atstring date-time required

When to execute the task (ISO format)

task_configobject nullable

Optional task configuration

max_attemptsinteger

Maximum retry attempts

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 54 revisions of this API.