Notifications API
GET /v1/notifications
Changed onReceive notifications API - Get any unacknowledged notifications
Request
- Base URLhttps://businessgateway.landregistry.gov.uk/bg2/api
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
created_beforestring date-time
created_afterstring date-time
status'NEW' | 'ACKNOWLEDGED'
occurred_beforestring date-time
occurred_afterstring date-time
notification_typestring
subjectstring
additional_provider_filterstring
limitinteger
Response
List of notifications
Example response
{
"data": [
{
"created_datetime": "2025-01-01T00:00:00Z",
"event_datetime": "2025-01-01T00:00:00Z",
"payload_schema": "https://example.com/",
"notification_type": "TYPE_1",
"subject_type": "subject_type",
"subject": "subject"
}
]
}Changes
- info
api operation id
Receive notifications APIremoved and replaced withget_notifications_v1
- info
- breaking
for the
queryrequest parameteradditional_provider_filter, the minLength was increased from0to1 - breaking
added the pattern
^[A-Za-z0-9._@-]*$to thequeryrequest parameternotification_type - breaking
added the pattern
^[A-Za-z0-9._@-]*$to thequeryrequest parametersubject - warning
for the
queryrequest parameteradditional_provider_filter, the maxLength was set to50 - warning
for the
queryrequest parameternotification_type, the maxLength was set to255 - warning
for the
queryrequest parametersubject, the maxLength was set to64
- breaking