Docs API reference

Webhooks & events

Get told when things happen.

Every state change becomes an event, delivered to your endpoint with an HMAC signature and retried on failure. See Webhooks for verification code and the full event catalog.

6 endpoints · base path /api/v1

GET/api/v1/event-types#

List event types

AccessAdmin, or an API key with the read or write scope.

Returns every event name you can subscribe to.

Responses

200OK
Example response
[
  "string"
]

Errors

StatusWhen
401Missing, invalid or expired credentials.
403Your credential is valid but isn't allowed to do this.

Errors use RFC 9457 problem details.

curl -X GET "$LMS_URL/api/v1/event-types" \
  -H "X-API-Key: $LMS_KEY"
GET/api/v1/webhook-endpoints#

List webhook endpoints

AccessAdmin, or an API key with the read or write scope.

Lists your endpoints with their subscribed event types. The signing secret is never shown again.

Responses

200OK· list of EndpointView
Example response
[
  {
    "active": true,
    "createdAt": "2026-11-25T14:03:11Z",
    "eventTypes": [
      "enrollment.completed"
    ],
    "id": "37386ae0-0ea5-44e0-a02e-161f807af560",
    "url": "https://example.com/hooks/lms"
  }
]

Errors

StatusWhen
401Missing, invalid or expired credentials.
403Your credential is valid but isn't allowed to do this.

Errors use RFC 9457 problem details.

curl -X GET "$LMS_URL/api/v1/webhook-endpoints" \
  -H "X-API-Key: $LMS_KEY"
POST/api/v1/webhook-endpoints#

Add a webhook endpoint

AccessAdmin, or an API key with the write scope.

Registers a URL to receive events. eventTypes is a list of event names (see GET /event-types) or ["*"] for all of them.

The URL must be https and must not resolve to a private, loopback or link-local address. The signing secret is returned once in secret; use it to verify the X-NoBS-Signature header. See Webhooks.

Request body application/json · CreateEndpoint

FieldTypeNotes
eventTypesrequiredstring[]min 1 item
urlrequiredstringmin length 1
Example request body
{
  "url": "https://api.example.com/lms/events",
  "eventTypes": [
    "enrollment.completed",
    "certificate.issued"
  ]
}

Responses

201Created· CreatedEndpoint
Example response
{
  "endpoint": {
    "active": true,
    "createdAt": "2026-11-25T14:03:11Z",
    "eventTypes": [
      "enrollment.completed"
    ],
    "id": "37386ae0-0ea5-44e0-a02e-161f807af560",
    "url": "https://example.com/hooks/lms"
  },
  "secret": "whsec_…"
}

Errors

StatusWhen
400Not https, a non-public address, or an unknown event type.
401Missing, invalid or expired credentials.
403Your credential is valid but isn't allowed to do this.

Errors use RFC 9457 problem details.

curl -X POST "$LMS_URL/api/v1/webhook-endpoints" \
  -H "X-API-Key: $LMS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://api.example.com/lms/events",
  "eventTypes": [
    "enrollment.completed",
    "certificate.issued"
  ]
}'
DELETE/api/v1/webhook-endpoints/{id}#

Delete a webhook endpoint

AccessAdmin, or an API key with the write scope.

Stops delivery and deletes the endpoint's delivery history.

Parameters

NameInTypeNotes
idrequiredpathstring (uuid)The id from a previous response.

Responses

204No Content

Errors

StatusWhen
401Missing, invalid or expired credentials.
403Your credential is valid but isn't allowed to do this.
404It doesn't exist, or it belongs to another tenant (the two look the same on purpose).

Errors use RFC 9457 problem details.

WEBHOOK_ENDPOINT_ID=37386ae0-0ea5-44e0-a02e-161f807af560
curl -X DELETE "$LMS_URL/api/v1/webhook-endpoints/$WEBHOOK_ENDPOINT_ID" \
  -H "X-API-Key: $LMS_KEY"
GET/api/v1/webhook-endpoints/{id}/deliveries#

Delivery history

AccessAdmin, or an API key with the read or write scope.

The most recent 100 deliveries to this endpoint with status (PENDING, DELIVERED, FAILED), attempts and the last error.

Parameters

NameInTypeNotes
idrequiredpathstring (uuid)The id from a previous response.

Responses

200OK· list of DeliveryView
Example response
[
  {
    "attempts": 1,
    "deliveredAt": "2026-11-25T14:03:11Z",
    "eventId": "8f3712f2-7b06-4b52-a94f-571d8e0275ca",
    "eventType": "enrollment.completed",
    "id": "37386ae0-0ea5-44e0-a02e-161f807af560",
    "lastError": "string",
    "lastStatus": 1,
    "nextAttemptAt": "2026-11-25T14:03:11Z",
    "status": "ACTIVE"
  }
]

Errors

StatusWhen
401Missing, invalid or expired credentials.
403Your credential is valid but isn't allowed to do this.
404It doesn't exist, or it belongs to another tenant (the two look the same on purpose).

Errors use RFC 9457 problem details.

WEBHOOK_ENDPOINT_ID=37386ae0-0ea5-44e0-a02e-161f807af560
curl -X GET "$LMS_URL/api/v1/webhook-endpoints/$WEBHOOK_ENDPOINT_ID/deliveries" \
  -H "X-API-Key: $LMS_KEY"
POST/api/v1/webhook-endpoints/{id}/ping#

Send a test event

AccessAdmin, or an API key with the write scope.

Queues a webhook.ping event to this endpoint only, so you can check your receiver and signature verification. It is delivered within a few seconds.

Parameters

NameInTypeNotes
idrequiredpathstring (uuid)The id from a previous response.

Responses

202Accepted

Errors

StatusWhen
401Missing, invalid or expired credentials.
403Your credential is valid but isn't allowed to do this.
404It doesn't exist, or it belongs to another tenant (the two look the same on purpose).

Errors use RFC 9457 problem details.

WEBHOOK_ENDPOINT_ID=37386ae0-0ea5-44e0-a02e-161f807af560
curl -X POST "$LMS_URL/api/v1/webhook-endpoints/$WEBHOOK_ENDPOINT_ID/ping" \
  -H "X-API-Key: $LMS_KEY"

Type to search guides and every endpoint.