Create Webhook Destination
This endpoint creates a new webhook destination. A webhook destination is a URL where webhook payloads will be sent.
Authorizations
m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.
The authorizationCode flow controls access for human users via the m3ter Console application.
Path Parameters
The unique identifier (UUID) for the organization. This specifies the organization within which the webhook destination is created.
Body
This response contains details about the WebhookDestinationRequest entity, including the URL and credentials required for webhook activation.
11The URL to which the webhook requests will be sent.
1The credentials required for the webhook.
The version number of the entity:
- Create entity: Not valid for initial insertion of new entity - do not use for Create. On initial Create, version is set at 1 and listed in the response.
- Update Entity: On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
Response
Returns the DestinationCreateRequest
Response containing details of a webhook destination.
The UUID of the entity.
The version number:
- Create: On initial Create to insert a new entity, the version is set at 1 in the response.
- Update: On successful Update, the version is incremented by 1 in the response.
The DateTime when this item was created (in ISO-8601 format).
The DateTime when this item was last modified (in ISO-8601 format).
The ID of the user who created this item.
The ID of the user who last modified this item.
The URL to which webhook requests are sent.
This schema defines the credentials required for m3ter request signing.