GET
/
rest
/
actions
/
{id}
curl --request GET \
  --url https://copilotz.com/rest/actions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "name": "Send Template Message",
  "description": "Send templated messages to WhatsApp users.",
  "specType": "openapi3-yaml",
  "moduleUrl": "https://example.com/modules/sendTemplate.js",
  "spec": "openapi: 3.0.0\ninfo:\n  title: Send Template API\npaths:\n  /sendTemplate:\n    post:\n      summary: Send a template message\n      ..."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Response

200 - application/json

Successful response

Response containing action details.