Langsung ke isi
GrowSocmedDokumentasiSocial media command center
API ReferenceAutomations

Get an automation

One automation with what it has done

GET
/automations/{id}

One automation with what it has done

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Path Parameters

id*string
Formatuuid

Response Body

OK

application/json
  1. response
automation*
Example Request
curl -X GET 'https://socmed.growpaces.com/api/v1/automations/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response200
{  "automation": {    "id": "string",    "account_id": "string",    "platform": "string",    "account_username": "string",    "name": "string",    "kind": "string",    "trigger": {      "posts": "all",      "match": "any",      "keywords": [],      "includeReplies": false,      "frequency": "hour"    },    "actions": {      "dmText": "string",      "replyVariants": [        "string"      ],      "agentId": "bc309ecf-5f66-4057-93c5-6611cc9cb7b2",      "buttons": [        {          "title": "string",          "url": "http://example.com"        }      ],      "trackClicks": true,      "requireFollow": {        "askText": "string",        "buttonTitle": "string"      },      "heart": true,      "markAutomated": true,      "iceBreakers": [        {          "question": "string",          "reply": "string"        }      ]    },    "delay": "string",    "once_per_person": true,    "enabled": true,    "enabled_at": "string",    "paused_until": "string",    "stats": {      "sent": 0,      "skipped": 0,      "failed": 0,      "queued": 0,      "clicks": 0,      "follows": 0,      "ctr": 0    }  }}