curl --request GET \
--url https://api.comm.com/api/v1/offers \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"name": "<string>",
"url": "<string>",
"profit": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
],
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
}
}
curl --request GET \
--url https://api.comm.com/api/v1/offers \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"name": "<string>",
"url": "<string>",
"profit": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
],
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Paginated set of OfferResource
The response is of type object
.