Events
GET /subscribers/{id}/api/v1/events
Authorization: RelayApiKey {apikey}
Content-type: application/jsonHeaders and Subscriber ID Path
Optional Query Parameters
Example
$ export subscriber_id=yourcustomersID
$ export apikey=apikey123
$ curl -s -H "authorization: RelayApiKey $apikey" "https://api.relaypro.com/subscribers/$subscriber_id/api/v1/events?oldest=2024-08-08T12:00:30Z&limit=1" | jq
[
{
"category": "tasks",
"content": {"type":"start"},
"task": {"id": "mCcJawrh3shriXHombQxXA","name": "alerts","task_type": { "major": 1,
"minor": 4, "name": "alerts", "namespace": "system"}},
"event_id": "a195f66af5514cacbdbeea09c8e785f6",
"timestamp": "2024-08-08T18:25:40.923947Z"
}
]
Last updated

