View Categories

Call Originate

Overview

ENDPOINT/admin/api/nexbro/v1/call/originate
Methods SupportedPOST
DescriptionThis endpoint is used to originate a new outbound call in the Nexbro. It allows external applications to programmatically initiate calls by providing the required source, destination, and call configuration parameters. The API responds with the call status and a unique call identifier for tracking and further actions.

Parameters

The following parameter’s required to originate a call.

Parameter NameParameter RequirementParameter Data TypeExampleDescription
extensionrequiredInteger234The internal extension from which the call will be originated.
destination_numberrequiredString8556900900The external phone number to be dialed.
gateway_uuidrequiredStringa8e0a4e5-16f8-421a-80d7-f147f74f8c01The unique identifier of the gateway through which the call will be routed.
caller_id_numberoptionalString7087033114The caller ID number displayed to the destination party.

Response Codes

The following response codes are returned by the API.

HTTP CODESummaryDescription
404HTTP_NOT_FOUNDReturned when the specified extension is not registered or cannot be found.
422HTTP_UNPROCESSABLE_ENTITYReturned when the call origination request is valid but cannot be processed due to a call setup failure.
200HTTP_OKReturned when the call origination request is processed successfully.
500INTERNAL_SERVER_ERRORReturned when an unexpected error occurs on the server while processing the request.

Example

POST https://nexbro.com/admin/api/nexbro/v1/call/originate
{
    "message": "Success.",
    "data": {
        "call_uuid": "3bee1179-d846-4e69-9463-11ad8b335037"
    }
}