Yay.com loading

Loading

Call us on (917) 9001 YAY

0

Login to Yay.com

Outbound Calls

Create outbound phone calls

Become a Reseller

Filter:

  • All
  • GET
  • POST
  • PUT
  • DELETE
  • Chargeable *

* You will be charged every time this command is run.

  • Chargeable *

    POST/voip/call

    Creates a new outbound call

    Back to top

    Request Details

    Response Details

    Request Details

    This command has no URL/Query String parameters

    POST body

    • Name

    • Type

    • Required

      • destination

      • String

      • True

      The destination phone number to call, the number should be in E164 format for outbound calls, you may also provide extension numbers of your hunt groups, users and call routes

      • display_name

      • String

      • False

      What display name should be sent to the user, this will show as the name on their phone (where supported)

      • user_uuid

      • String

      • True

      The UUID of the SIP user to make the outbound call for

    JSON all-fields example:

    {
        "user_uuid" : "684132b0-6a20-4680-8c1e-adf2d5e5a4aa",
        "destination" : "+443301226000",
        "display_name" : "CRM Initiated Call"
    }

    Response Details

    201 Response

    {
        "result" : {},
        "status_code" : 201,
        "status_message" : "Created"
    }

    404 Response

    {
        "result" : {},
        "status_code" : 404,
        "status_message" : "Not Found"
    }