Langsung ke isi
GrowSocmedDokumentasiSocial media command center

Draft a reply with an agent

Let an agent draft a reply to a comment (nothing is sent)

POST
/comments/{id}/draft

Let an agent draft a reply to a comment (nothing is sent)

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

Request Body

application/json
  1. body
agent_id*string
Formatuuid

Response Body

OK

application/json
  1. response
status*string
reply*string|null
reason*string|null
Example Request
curl -X POST 'https://socmed.growpaces.com/api/v1/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08/draft' \  -H 'Content-Type: application/json' \  -d '{  "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978"}'
Example Response200
{  "status": "string",  "reply": "string",  "reason": "string"}