Skip to main content
GET
/
automations
curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/automations?platform=instagram"
{
  "status": "success",
  "automations": [
    {
      "id": "auto_9xKp2Lm4nQ",
      "platform": "instagram",
      "accountId": "17841400000000000",
      "name": "Spring promo",
      "description": "",
      "active": true,
      "stats": {
        "totalSent": 42,
        "totalFailed": 1,
        "lastTriggeredAt": "2026-05-12T09:14:22.000Z",
        "lastSentAt": "2026-05-12T09:14:48.000Z"
      },
      "created": "2026-04-30T12:00:00.000Z",
      "updated": "2026-05-12T09:14:48.000Z"
    }
  ]
}
Beta. See the Automations Overview for the full feature description.
Returns every active and inactive automation for the caller. Soft-deleted automations are excluded.

Header Parameters

Query Parameters

platform
string
Optional. Filter to automations targeting this platform. Only instagram is currently supported.
curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/automations?platform=instagram"
{
  "status": "success",
  "automations": [
    {
      "id": "auto_9xKp2Lm4nQ",
      "platform": "instagram",
      "accountId": "17841400000000000",
      "name": "Spring promo",
      "description": "",
      "active": true,
      "stats": {
        "totalSent": 42,
        "totalFailed": 1,
        "lastTriggeredAt": "2026-05-12T09:14:22.000Z",
        "lastSentAt": "2026-05-12T09:14:48.000Z"
      },
      "created": "2026-04-30T12:00:00.000Z",
      "updated": "2026-05-12T09:14:48.000Z"
    }
  ]
}