Billing
Read your API balance
GET
The API tokens your account can spend now. API calls spend this balance, never your GetMattered plan. Free.
DeveloperKeyheader
AuthorizationBearer <gm_live_...>A GetMattered developer API key, sent as Authorization: Bearer gm_live_....
The API balance.
application/json- response
Successful API response
data*meta?success*trueValue in
truecurl -X GET 'https://api.getmattered.com/api/v1/developer/balance'Example Response
{
"data": {
"balance": 0,
"currency": "tokens"
},
"meta": {
"duration": 0,
"performance": {
"dbQueries": 0,
"totalDbTime": 0
},
"requestId": "string",
"timestamp": "2019-08-24T14:15:22Z",
"version": "string"
},
"success": true
}Send a test event POST
Queues one `webhook.test` event to the endpoint, signed like every event. It is sent within a minute; read the result from `GET /developer/webhooks/{id}/deliveries`. Free.
Read your monthly usage GET
Calls and the tokens they spent for each of your API keys in one calendar month (UTC). Defaults to the current month. Free.