Access to time-based events recorded within Elevate
Elevate Events API (1.0)
This API provides read-only access to time-based events recorded within Elevate. Example events include;
- A user has logged in
- A user has been locked out due to reaching a maximum number of failed login attempts
- A role has been created
The initial release of this API contains only security-related events. Over time this API will evolve to include events from elsewhere in the system e.g.
- A bill run has been closed
- Invoices have been distributed
- A customer has been created
Download OpenAPI description
Languages
Servers
https://rest.elevatebilling.com/v1
Query
Results to return per page
Example: pageSize=100
Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change
Example: sort=id,name | name:desc
Comma-delimited list of the field(s) to return if only a subset is required
Example: fields=id,name
Filter by the action in the event
Example: action=xyz | in:x,y | like:xyz
Filter by events created after this timestamp
Example: createdFrom=yyyy-MM-ddTHH:mm:ssZ | lt:yyyy-MM-ddTHH:mm:ssZ | gt:yyyy-MM-ddTHH:mm:ssZ
- https://rest.elevatebilling.com/v1/events
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/events?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&category=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&action=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&createdFrom=yyyy-MM-ddTHH%3Amm%3AssZ+%2C+lt%3Ayyyy-MM-ddTHH%3Amm%3AssZ+%2C+gt%3Ayyyy-MM-ddTHH%3Amm%3AssZ&createdTo=yyyy-MM-ddTHH%3Amm%3AssZ+%2C+lt%3Ayyyy-MM-ddTHH%3Amm%3AssZ+%2C+gt%3Ayyyy-MM-ddTHH%3Amm%3AssZ' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
[ { "id": 1, "timestamp": "2019-08-24T14:15:22Z", "category": "authentication", "action": "user-login-success", "description": "User bob.smith has logged in", "username": "bob.smith", "ipAddress": "12.34.56.78" } ]