Learning Record Webhooks

Examples of webhook payloads for Learning Records

Learning Records available on Pro or higher plans

Learning Record Created

Example payload from Learning Record Created webhooks

{
  "user": {
    "id": "7dNGUkKit2O",
    "name": "Charlotte Blue",
    "email": "[email protected]",
    "subPortalId": "rtQY0MErP9S",
    "customAttributes": {
      "employee-id": null,
      "team": null,
      "quote": null,
      "dob": null,
      "last-certified-grade": null,
      "checker": null,
      "boxes": null
    }
  },
  "portal": {
    "id": "9i0FAHIDOM"
  },
  "meta": {
    "timestamp": "2024-06-25T11:15:15.587Z",
    "eventName": "learningRecord.created"
  },
  "learningRecord": {
    "objectId": "lcfdxBQ13vT",
    "name": "The Smallest Record Who Ever Lived",
    "score": 55,
    "visibleToStudent": true,
    "achievedOn": "2024-06-03T23:00:00.000Z",
    "attr": {
      "grade": "c",
      "file": {
        "url": "https://synap-files-prod.s3.eu-west-1.amazonaws.com/9i0FAHIDOM/user/7dNGUkKit2O/learning-record-attr/file/luke.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3EUWGFBCLXOGZ7TD%2F20240625%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240625T112807Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBQaCWV1LXdlc3QtMSJHMEUCIAxsi4LCDi6hYPyLTEULYL1xA9ldy3YrftcglDxGjJScAiEA78IHUnMa3SXxasZKeTh0o4qHQWAipBoF2czkOA8bQoYqoAMIvP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARADGgw3NjU4OTI4OTY4MzYiDAb0ZItiQFL14WMwsCr0Ap0onfVYtfrZ1uthoY2hzr0tId%2BuzAqP1Jjg90LLfMAF0BP1fYI%2B%2FAeZuL7N2xGic57c02N7tLm9AFygefIp47BmdBxNaSrCpLqa792HiQCtQkupGxaAD%2Bxf9GxWo1Y0J4%2FVWpTQU3n4AhVXzEyJ4K5bXZVmLyzNbbb3qaGm17gqtRn%2BdRwDMZiyLNwHikIbXDPMAiiuGweDfuwLMxpbDG9LUuiI4g68gaFHJndU%2FEEtY71ZUa84%2B7tU9n%2FOsv03o248aZtebHVeib8Bm3qyxs02jK8Xs4yLxH6Fi1O8Ufic4HbLwup856I6%2FWjesf0iHqLmeAsEhtXdphC5HDKq7lPBL6qXInLupbffbHwm3ly3JsHDQGU5ydVlue664zYciBLaA2KRl8OYZIWaGPiLX3zIz0IcNRP0g0fXPxjIU%2BZsFi63kSvaIbgyx8JKEhJfE6QKZK25Vr8VnMYVdsXZuLeu9CY1WVQxGlNi8noz%2FQaQ7vHWlzDDzeqzBjqdAUOpfDlgFoB3xgy2Sg1PcUdP46tBDkDQRyXCi8LkIXHADR3l4d54qHVL5XDw9mabdusvidtxsH9%2B8kCodbVPLvnmExWX71zHTpqExN8TJ0a8pYPZhD%2Fusu7lrPmwqC0V7I01KRsnkhZ2J%2BzGKXUhglMAtuOeKdSirv6%2BJJM3MoCgJyKGZTyOPcs4nI%2BY4LpmlYAY9%2F8HbppHG2skDL4%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=ed1f5adef9220f06c2a15f0ecaa750da2044dc815cc782fb570d3dbb733f5aee",
        "filePath": "9i0FAHIDOM/user/7dNGUkKit2O/learning-record-attr/file/luke.pdf"",
        "fileName": "luke.pdf",
        "mimeType": "application/pdf",
        "size": 423377
      },
      "free-text": "waolom"
    }
  }
}

Learning Record Updated

Example payload from Learning Record Updated webhooks, this Learning Record had a file updated. When a custom attribute field is updated it shows as attr in updatedFields

Learning Record Deleted

Example payload from Learning Record Updated webhooks

Last updated

Was this helpful?