agents

Enable a task on an agent

Enables a task for the agent — creates the link if absent, updates priority if already enabled. The agent will offer this task during calls provided its prerequisites are met (e.g., calendar_connected requires a linked calendar). Priority defaults to 0.

post/agents/{id}/tasks/{taskId}/enable

Request

  • Base URL: https://be.skipcalls.com (the document declares no server; this is the origin it was published from)
  • URL: https://be.skipcalls.com/agents/{id}/tasks/{taskId}/enable
  • Auth: HTTP bearer

Path parameters

idstring required
taskIdstring required

Request body

prioritynumber

Priority (lower = higher priority)

Response

idstring required

Unique link identifier

agentIdstring required

Agent this task is linked to

taskIdstring required

Task definition this link references

prioritynumber required

Priority (lower = higher priority)

createdAtstring date-time required

Link creation timestamp

Example response

{
  "task": {
    "slug": "schedule-appointment",
    "title": "Schedule Appointment",
    "prerequisiteType": "calendar_connected",
    "groupName": "Scheduling"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.