Skip to main content
GET
/
agents
/
{agentId}
Get an agent
curl --request GET \
  --url https://app.autoposting.ai/api-proxy/agents/{agentId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "agent_01HXYZ",
    "name": "Daily LinkedIn Poster",
    "brandSlug": "acme-corp",
    "platforms": [
      "linkedin"
    ],
    "schedule": "0 9 * * 1-5",
    "enabled": true,
    "autoPublish": false,
    "tone": "professional",
    "instructions": null,
    "knowledgeBaseId": "kb_01HXYZ",
    "postsPerRun": 1,
    "lastRunAt": "2024-01-10T09:00:00Z",
    "nextRunAt": "2024-01-11T09:00:00Z",
    "createdAt": "2024-01-01T00:00:00Z",
    "updatedAt": "2024-01-01T00:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required

Agent ID.

Response

The agent.

success
boolean
data
object

An AI agent that autonomously generates and schedules content.