---
title: "Add Site Dispatch Consent"
method: POST
path: "/entities/site/{site_id}/dispatch-consent"
tags: ["3. Sites"]
---

# Add Site Dispatch Consent

`POST /entities/site/{site_id}/dispatch-consent`

Add dispatch consent for a site to particpate in flex markets.

This enables the site to participate with the specified dispatch consent methods. Returns the updated site details with the new dispatch consent information.

## Path parameters

- `site_id` string, uuid, required

## Request body

- SiteDispatchConsentRequest — Request model for updating dispatch consent for a site.
  - `dispatch_methods` DispatchMethodResponse[], required — Dispatch methods to consent to or remove consent from. Leave empty to not consent to any dispatch methods.

## Response `200`

Successful Response

- SiteResponse — Response model for site information.
  - `id` string, uuid, required — Axle's internal UUID for the site
  - `mpan` string — Meter Point Administration Number for the site
  - `postcode` string — UK postcode for the site
  - `address` string — Full address for the site
  - `asset_ids` string[] — List of asset IDs associated with this site
  - `markets` MarketResponse[] — Markets the site is participating in
  - `dispatch_methods` DispatchMethodResponse[] — Dispatch methods allowed for the site
  - `tariff` TariffResponse — Response model for tariff information.
    - `tariff_type` 'single_rate' | 'dual_rate' | 'dynamic' | 'smart' | 'unknown' — An enumeration.
    - `tariff_cheap_start_time` string, time — Start time for off-peak/cheap rate period
    - `tariff_cheap_end_time` string, time — End time for off-peak/cheap rate period
  - `gave_boundary_meter_consent_at` string, date-time — Timestamp when boundary meter consent was given

## Other responses

- `404` — Site not found or not authorized to access
- `422` — Validation Error
- `500` — Internal server error

---

[API](https://skmtc.dev/axle/apis/axle-api-docs.md) · [All operations](https://skmtc.dev/axle/apis/axle-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/axle/axle-api-docs/revisions/75be7f9a952f/schema)
