Skip to main content

List Notifications

Use this endpoint to list webhook notifications with filters.

Available Environments​

https://api.gateway.com.br/dispatcher

Endpoint​

  • Method: GET
  • Endpoint: /request
  • Authentication: Bearer token

Query Params​

ℹ️ Dates in ISO

The startDate and endDate fields must be sent as an ISO date string with time.

Example:

  • 2026-03-24T12:00:00.000Z
ℹ️ Arrays in the query string

The status and tags fields accept multiple values.

Example:

  • status=SENT&status=FAILED
  • tags=PAID&tags=CANCELLED
NameTypeRequiredDescriptionValidations
startDatestringNoStart date of the filterMust be an ISO date string with time
endDatestringNoEnd date of the filterMust be an ISO date string with time
referenceIdstringNoReference ID of the notificationCannot be empty
statusstring[] (enum) - RECEIVED, SENT, FAILED, ERRORNoList of statuses to filter byMust be a non-empty array
tagsstring[]NoList of tags to filter byMust be a non-empty array of strings

Request Example (with every field)​

curl --request GET \
--url "https://api.gateway.com.br/dispatcher/request?startDate=2026-03-01T00:00:00.000Z&endDate=2026-03-24T23:59:59.999Z&referenceId=6d66e879-0345-44c9-9146-3cfc81842684&status=RECEIVED&status=SENT&status=FAILED&status=ERROR&tags=PAID&tags=CANCELLED" \
--header 'Authorization: Bearer your-jwt-token'

Success Response​

FieldTypeRequiredDescription
totalnumberYesTotal items
totalPagesnumberYesTotal pages
currentPagenumberYesCurrent page
perPagenumberYesItems per page
dataarrayYesList of notifications

Fields of the item in data​

FieldTypeRequiredDescription
idstring (UUID)YesNotification identifier
referenceIdstringYesReference ID of the notification
urlstringYesDestination URL of the notification
statusstring (enum) - RECEIVED, SENT, FAILED, ERRORYesNotification status
tagsstring[]YesTags attached to the notification
createdAtstring (ISO)YesCreation date
userIdstring (UUID)YesIdentifier of the responsible user
storeIdstring (UUID)YesStore identifier

Response Example​

{
"total": 2,
"totalPages": 1,
"currentPage": 1,
"perPage": 10,
"data": [
{
"id": "553e8400-e29b-41d4-a716-446655440000",
"referenceId": "6d66e879-0345-44c9-9146-3cfc81842684",
"url": "https://api.example.com/webhooks/order-events",
"status": "SENT",
"tags": ["PAID", "CANCELLED"],
"createdAt": "2026-03-24T10:00:00.000Z",
"userId": "11111111-1111-1111-1111-111111111111",
"storeId": "22222222-2222-2222-2222-222222222222"
},
{
"id": "663e8400-e29b-41d4-a716-446655440001",
"referenceId": "4ef9706d-5ea3-4f07-b282-c6be9ac83c9b",
"url": "https://api.example.com/webhooks/billing-events",
"status": "FAILED",
"tags": ["CANCELLED", "webhook"],
"createdAt": "2026-03-24T11:00:00.000Z",
"userId": "33333333-3333-3333-3333-333333333333",
"storeId": "44444444-4444-4444-4444-444444444444"
}
]
}

Possible Errors​

CodeDescriptionSolution
401Invalid credentialsCheck your token
403No permission/authorizationCheck the user scope
404No notification foundAdjust the query filters
422Invalid or missing dataCheck the format of the parameters
500Internal errorContact support