Create a notification destination
curl --request POST \
--url https://beta.creatorcore.co/api/v2/utilities/notifications/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"label": "<string>",
"config": {}
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({label: '<string>', config: {}})
};
fetch('https://beta.creatorcore.co/api/v2/utilities/notifications/destinations', 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/destinations"
payload = {
"label": "<string>",
"config": {}
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"destination": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "slack_webhook",
"label": "<string>",
"config": {},
"enabled": true,
"createdByApiKeyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"signingSecret": "<string>"
}Notification destinations
Create a notification destination
Creates a destination (webhook, Slack webhook, email, or SMS). For type: "webhook", pass config: { url } with an HTTPS URL; the response includes signingSecret once — store it to verify the CreatorCore-Signature header. Signed-in organization members (admin or member role) can manage every destination type. Organization API keys can manage webhook destinations and their subscriptions only, and only when the key is granted this operation by name (a key granted all operations does not include it). Connected-app (OAuth) tokens are not accepted.
POST
/
api
/
v2
/
utilities
/
notifications
/
destinations
Create a notification destination
curl --request POST \
--url https://beta.creatorcore.co/api/v2/utilities/notifications/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"label": "<string>",
"config": {}
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({label: '<string>', config: {}})
};
fetch('https://beta.creatorcore.co/api/v2/utilities/notifications/destinations', 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/destinations"
payload = {
"label": "<string>",
"config": {}
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"destination": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "slack_webhook",
"label": "<string>",
"config": {},
"enabled": true,
"createdByApiKeyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"signingSecret": "<string>"
}Authorizations
Body
application/json
Was this page helpful?