cURL
curl --request POST \ --url https://api.justpaid.io/api/v1/usage/billable_metrics/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "description": "<string>", "event_name": "<string>", "aggregation_type": 0 }'
{ "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "name": "<string>", "description": "<string>", "event_name": "<string>", "aggregation_type": 0 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
255
OK
Was this page helpful?