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

#### URL Expired

The URL for this request expired after 30 days.

accountId

uuid

required

Webhook object that needs to be registered for this account

url

uri

required

Webhook URL

headers

array of objects

Headers that Leap includes in each webhook notification request. They can be used for authentication.

headers
ADD object

# ``200      Webhook URL updated

object

url

uri

required

Webhook URL

headers

array of objects

Headers that Leap includes in each webhook notification request. They can be used for authentication.

headers

object

Header name and value

name

string

required

value

string

required

# ``400      Request could not be parsed or is invalid

# ``401      Unauthorized

# ``403      No access to this resource

# ``5XX      Unexpected error

Base URL

https://api.staging.leap.energy/v1.1/account/{accountId}/bidding/dispatch/group/webhook

```

xxxxxxxxxx

curl --request PUT \

--url https://api.staging.leap.energy/v1.1/account/accountId/bidding/dispatch/group/webhook \

--header 'accept: application/json' \

--header 'content-type: application/json'
```

```

xxxxxxxxxx

{

"headers": [\
\
    {\
\
      "name": "x-your-api-key",\
\
      "value": "81819286-3448-4f44-9b1b-3d742666fa5a"\
\
    }\
\
  ],

"url": "https://webhook.yourcompany.com"

}
