# 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**](/insight/deployment/queueing-calls.md), queuing a single outbound call through the [**Queue Call API** ](/insight/api/queuing-an-outbound-call.md), and queuing multiple outbound calls via the [**Bulk Queue API**](/insight/api/queuing-multiple-outbound-calls.md).

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** ](/insight/api/checking-status-for-an-outbound-call.md)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                                                                       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plumvoice.com/insight/data-integration/result-url.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
