v1

latestOpenAPI 3.1.1Proprietary2026-07-245895107.9 KB
Actions

Get scenario

Get a Callr Actions scenario.

get/actions/{sid}

Path parameters

sidstring required

Short ID

Example:callrsid

Resource SID (8 lowercase alphanumeric characters)

Response

Actions scenario

namestring required
scriptstring required
formatstring required
sidstring required

Short ID

versionstring required
createdstring date-time required

RFC 3339, section 5.6

updatedstring date-time required

RFC 3339, section 5.6

Example response

{
  "name": "Call Forwarding",
  "script": "defaults:\n  language: en-US\n\nbranches:\n  inbound-call:\n    actions:\n      - action: log@v1\n        params:\n          message: Hello inbound call\n\n  inbound-sms:\n    actions:\n      - action: log@v1\n        params:\n          message: Hello inbound sms\n\n  api-initiated:\n    actions:\n      - action: log@v1\n        params:\n          message: Hello from API\n",
  "format": "yaml",
  "sid": "callrsid",
  "numbers": [
    {
      "e164": "+33199001234",
      "class": "classic",
      "type": "geographic",
      "assigned": "2024-04-24T17:42:28Z",
      "country": "FR"
    }
  ],
  "version": "1.0",
  "created": "2024-04-24T17:42:28Z",
  "updated": "2024-04-24T17:42:28Z"
}