curl "https://app.drime.cloud/api/v1/notifications?per_page=10&page=1" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"pagination": {
"current_page": 1,
"data": [
{
"id": "abc123",
"type": "file_shared",
"data": {
"file_name": "document.pdf",
"shared_by": "colleague@example.com"
},
"read_at": null,
"created_at": "2025-01-15T10:30:00.000000Z"
}
],
"from": 1,
"last_page": 1,
"per_page": 10,
"to": 1,
"total": 1
}
}
Get user notifications
curl "https://app.drime.cloud/api/v1/notifications?per_page=10&page=1" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"pagination": {
"current_page": 1,
"data": [
{
"id": "abc123",
"type": "file_shared",
"data": {
"file_name": "document.pdf",
"shared_by": "colleague@example.com"
},
"read_at": null,
"created_at": "2025-01-15T10:30:00.000000Z"
}
],
"from": 1,
"last_page": 1,
"per_page": 10,
"to": 1,
"total": 1
}
}
curl "https://app.drime.cloud/api/v1/notifications?per_page=10&page=1" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"pagination": {
"current_page": 1,
"data": [
{
"id": "abc123",
"type": "file_shared",
"data": {
"file_name": "document.pdf",
"shared_by": "colleague@example.com"
},
"read_at": null,
"created_at": "2025-01-15T10:30:00.000000Z"
}
],
"from": 1,
"last_page": 1,
"per_page": 10,
"to": 1,
"total": 1
}
}