Loading...
Skip to main content

PUT /events/:event_id

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

Method: PUT

Path Parameters

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

Body Parameters

idstringrequired
The ID of the notification this event maps to
typestringrequired

Responses

status: 200 OK

statusstring

status: 400 Bad Request

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

Request Example

curl --request PUT \
--url https://api.courier.com/events/new-user \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '
{
"id": "notification-id-1",
"type": "notification"
}
'

Responses Example

{
"status": "SUCCESS"
}
{
"message": "Error Message",
"type": "invalid_request_error"
}