Scheduled Requests

Create Scheduled Request

Create scheduled request to API

post/v4/accounts/{voip_id}/scheduled-requests

Request

  • Base URL: https://api.phone.com
  • URL: https://api.phone.com/v4/accounts/{voip_id}/scheduled-requests
  • Auth: HTTP bearer

Path parameters

voip_idinteger required

Request body

request_uristring required

Request URI starting with "/v4". For example "/v4/accounts/12345/messages"

request_method'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE' required

HTTP method of the request (GET, POST, etc.)

request_bodyobject nullable

Request body

notification_emailstring nullable

Notification email (if not provided default account's email will be used)

notification_policyinteger

Notification policy: 0 - no notifications, 1 - only if request failed, 2 - always.

scheduled_atinteger required

Request scheduled time (UNIX timestamp). Request will be performed in up to 2 minutes after that time. Up to 400 days from the API call moment.

commentstring

Comment (description)

tagstring nullable

Technical identifier

Response

Created

object required

Changes

No operation changes recorded.