- Accept a participation agreement version
Record that the authenticated user has accepted the given Participation Agreement Version, identified by its UID (e.g. the id returned by the current sub-resource).
The request body must be an empty JSON object ({}). Sending any additional fields returns 400 Bad Request. The success response is 201 Created with no body. The acceptance is idempotent — repeating the call for the same (user, version) pair returns 201 without creating a duplicate acceptance record.
Requires a user-grant access token (Authorization Code or Password). The endpoint is not exposed to Client Credentials clients because acceptance is intrinsically a per-user action.
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/programs/{program_id}/participation_agreement_versions/{participation_agreement_version_id}/accept
- Live API for both production and sandbox requests.https://api.ev.energy/v2/programs/{program_id}/participation_agreement_versions/{participation_agreement_version_id}/accept
- Staging server for internal testing only.https://api-staging.ev.energy/v2/programs/{program_id}/participation_agreement_versions/{participation_agreement_version_id}/accept
curl -i -X POST \
'https://developers.ev.energy/_mock/ev.energy-api-v2/programs/{program_id}/participation_agreement_versions/pagv01JCDYP6Z8MX9XWVAV0A7G3KPN/accept' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'EvEnergy-Version: 2' \
-d '{}'The acceptance has been recorded.
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The number of requests remaining until this client's rate limit is reached.
No content