curl --request GET \ --url 'https://YOURSITE.konstant.ly/openapi/v1/webhook/user.created/last' \ --header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{ "occuredAt": 1673531200, "type": "User/Created", "body": { "user": { "id": "user123", "name": "John Smith", "email": "[email protected]", "language": "en", "timezone": "Europe/London", "role": { "alias": "learner" }, "fromApi": true, "userAttributes": [ { "apiId": "department", "name": "Department", "type": 1, "value": "Sales" } ] } } }
Get data of last webhook event of a specific type
user.created
Show Error object properties
course.published
Was this page helpful?