curl --request GET \
--url https://api.helpyousponsor.com/v1/commitments/{date_from}/{date_to}/graph \
--header 'Authorization: Bearer <token>'
{
"commitment_graph_data": [
{
"date": "2023-12-25",
"total": 123
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The start date for the graph data
The end date for the graph data
Successful operation
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/commitments/{date_from}/{date_to}/graph \
--header 'Authorization: Bearer <token>'
{
"commitment_graph_data": [
{
"date": "2023-12-25",
"total": 123
}
]
}