Get a queued notification
curl --request GET \
--url https://beta.creatorcore.co/api/v2/utilities/notifications/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/utilities/notifications/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/utilities/notifications/{id}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"notification": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"batchKey": "<string>",
"channel": "<string>",
"topic": "<string>",
"payload": {},
"status": "pending",
"error": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destinationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"recipientUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"aggregateKey": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"sentAt": "<string>",
"attempts": 123,
"nextAttemptAt": "<string>",
"lastAttemptAt": "<string>",
"lastResponseStatus": 123
}
}Notifications
Get a queued notification
Returns one notification outbox entry by ID.
GET
/
api
/
v2
/
utilities
/
notifications
/
{id}
Get a queued notification
curl --request GET \
--url https://beta.creatorcore.co/api/v2/utilities/notifications/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/utilities/notifications/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/utilities/notifications/{id}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"notification": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"batchKey": "<string>",
"channel": "<string>",
"topic": "<string>",
"payload": {},
"status": "pending",
"error": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destinationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"recipientUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"aggregateKey": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"sentAt": "<string>",
"attempts": 123,
"nextAttemptAt": "<string>",
"lastAttemptAt": "<string>",
"lastResponseStatus": 123
}
}Authorizations
Was this page helpful?