Skip to main content

GET /events/:event_id

URL: https://api.courier.com/events/:event_id

Method: GET

Path Parameters

event_idstringrequired
A unique identifier associated with the event you wish to retrieve.

Responses

status: 200 OK

eventstring
A unique event identifier
idstring
The ID of the notification this event maps to
typestring
[notification] The type of event

status: 404 Event Not Found

messagestring
A message describing the error that occurred.
typestring
[invalid_request_error] The type of error that occurred.

Request Example

curl --request GET \
--url https://api.courier.com/events/new-user \
--header 'Accept: application/json'

Responses Example

{
"id": "notification-id-1",
"type": "notification"
}
{
"message": "Not Found",
"type": "invalid_request_error"
}
Was this helpful?