# Result URL

Insight allows users to configure their outbound calls to automatically send the status of each outbound call to a REST service upon completion. To do so, it is necessary to provide a result\_url when queuing the outbound calls.

Insight provides three different ways to accomplish this: queuing through the [**Outbound UI**](https://docs.plumvoice.com/insight/deployment/queueing-calls), queuing a single outbound call through the [**Queue Call API** ](https://docs.plumvoice.com/insight/api/queuing-an-outbound-call), and queuing multiple outbound calls via the [**Bulk Queue API**](https://docs.plumvoice.com/insight/api/queuing-multiple-outbound-calls).

The result\_url callback will be POSTed to when the outbound call completes, when all outbound attempts are exhausted, or when the outbound call is canceled. The body of this request will be identical to the `call_details` element in the [**Outbound Call Status API** ](https://docs.plumvoice.com/insight/api/checking-status-for-an-outbound-call)method.

### **Request Parameters**

The following parameters will be POSTed to your result\_url:

| Parameter                | Type   | Description                                                                                                                      |
| ------------------------ | ------ | -------------------------------------------------------------------------------------------------------------------------------- |
| status                   | string | Call outcome: 'completed', 'canceled', 'failed', 'rejected'                                                                      |
| attempts                 | int    | Number of outbound attempts that were made                                                                                       |
| max\_attempts            | int    | Total number of call attempts to be made                                                                                         |
| queued\_timestamp        | int    | Timestamp of when the call was queued                                                                                            |
| last\_attempt\_timestamp | int    | Timestamp of the last time the call was attempted                                                                                |
| start\_timestamp         | int    | Timestamp of when the calls were scheduled to begin. If not supplied when queuing, this will be an empty value                   |
| end\_timestamp           | int    | Timestamp of when the calls were scheduled to no longer make attempts. If not supplied when queuing, this will be an empty value |
| reattempt\_wait          | int    | Time (in seconds) to wait between call re-try attempts                                                                           |
| events                   | array  | Array of call events, including the timestamp of the event                                                                       |
