Skip to main content
POST
/
agents
/
{agentId}
/
run
Trigger an immediate agent run
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/agents/{agentId}/run \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "runId": "run_01HXYZ",
    "status": "queued",
    "startedAt": "2024-01-10T12:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Path Parameters

agentId
string
required

Agent ID.

Response

Run queued.

success
boolean
data
object