Actions

Attach number to scenario

Attach a phone number to a Callr Actions scenario. Calls to this number will execute the inbound-call branch of the scenario. SMS received on this number will execute the inbound-sms branch of the scenario.

put/actions/{sid}/numbers/{number}

Request

  • Base URL
    https://api.callr.com/v2.0
  • URL
    https://api.callr.com/v2.0/actions/{sid}/numbers/{number}
  • Auth
    • API key in header x-api-key
    • or HTTP basic

Path parameters

sidstring required

Short ID

Example:callrsid

Resource SID (8 lowercase alphanumeric characters)

numberstring required

A phone number in ITU-T E.164 format https://en.wikipedia.org/wiki/E.164, prefixed by "+"

Example:+33199001234

Phone number to attach

Response

Phone number attached

Changes

No recorded changes to this operation across all 2 revisions of this API.