cURL
curl --request POST \ --url https://api.monigo.co/v1/metrics \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "aggregation": "<string>", "aggregation_property": "<string>", "description": "<string>", "event_name": "<string>", "name": "<string>" } '
{}
Creates a new usage metric for tracking billable events
API key with Bearer prefix (for programmatic/server-to-server access), format: Bearer {api_key}
Metric details
Created
The response is of type object.
object