| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### Dispatch Notification Structure

#### Required Fields
- **accountId**  
  - Type: `uuid`  
  - Required
- **meter_id**  
  - Type: `uuid`  
  - Required  
  - Description: The id of the meter
- **timeslot**  
  - Type: `object`  
  - Required  
  - Description: A single time interval that describes all aspects of the dispatch

### Response Codes

#### 200 - Test dispatch notification
- Description: Dispatch notification successfully sent to webhook URL
- **http_status**  
  - Type: `integer`  
  - Description: The http code from the response server for the webhook URL or 'null' if no response was received
- **sent_time**  
  - Type: `date-time`  
  - Required: Time when the request was sent
- **received_time**  
  - Type: `date-time`  
  - Description: Time when the response was received
- **headers**  
  - Type: `object`  
  - Description: Http headers received from the server
- **body**  
  - Type: `string`  
  - Description: Http body received from the server if present, 'null' otherwise
- **error_message**  
  - Type: `string`  
  - Description: In case the request to the webhook URL failed this field contains a description of the failure

#### Other Response Codes
- 400 - Request could not be parsed or is invalid
- 401 - Unauthorized
- 403 - No access to this resource
- 404 - Resource not found
- 5XX - Unexpected error

### Example Request
```
curl --request POST \
     --url https://api.staging.leap.energy/v1.1/account/accountId/bidding/dispatch/webhook/test_url \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '\n{\n  "timeslot": {\n    "test_event": true\n  }\n}\n'```

### Example Response
```
{  
  "example": {  
    "sent_time": "2023-01-23T04:56:07.000Z",
    "headers": {  
      "key": [  
        "x-api-key",  
        "your-key"  
      ]  
    },  
    "http_status": 200,
    "received_time": "2023-01-23T04:56:17.000Z",
    "body": "body that is echoed."  
  }  
}  
```
