numbers

Bind a connection to a number

post/numbers/{id}/connection

Request

  • Base URL: https://api.saperly.com
  • URL: https://api.saperly.com/numbers/{id}/connection
  • Auth: none required

Path parameters

idstring required

The phone number's id.

Request body

connectionIdstring required

The id of the connection to bind to this number. The connection becomes the handler that answers calls and messages on the line.

Response

Success

idstring required
phoneNumberstring required
connectionIdstring nullable required
webhookUrlstring nullable required
smsSenderIdstring nullable
callerIdNamestring nullable
countrystring nullable required
numberTypestring nullable required
monthlyPriceCentsnumber nullable required
currencystring nullable required
nextChargeAtstring nullable required
releasedAtstring nullable required
createdAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.