Import branding hints from a website
curl --request POST \
--url https://beta.creatorcore.co/api/v2/org/branding/scrape \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"websiteUrl": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({websiteUrl: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/org/branding/scrape', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/org/branding/scrape"
payload = { "websiteUrl": "<string>" }
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,
"hints": {
"websiteUrl": "<string>",
"colors": {
"primary": "<string>",
"secondary": "<string>",
"button": "<string>",
"background": "<string>",
"text": "<string>",
"mutedText": "<string>",
"card": "<string>",
"cardText": "<string>",
"buttonText": "<string>",
"dark": {
"primary": "<string>",
"secondary": "<string>",
"button": "<string>",
"background": "<string>",
"text": "<string>",
"mutedText": "<string>",
"card": "<string>",
"cardText": "<string>",
"buttonText": "<string>"
}
},
"logoUrl": "<string>",
"faviconUrl": "<string>",
"title": "<string>"
}
}Branding
Import branding hints from a website
Fetches public branding hints (colors, logo, favicon, and page title) from a website URL. Scheme-less URLs are normalized to https://. Invalid URLs return 400.
POST
/
api
/
v2
/
org
/
branding
/
scrape
Import branding hints from a website
curl --request POST \
--url https://beta.creatorcore.co/api/v2/org/branding/scrape \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"websiteUrl": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({websiteUrl: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/org/branding/scrape', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/org/branding/scrape"
payload = { "websiteUrl": "<string>" }
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,
"hints": {
"websiteUrl": "<string>",
"colors": {
"primary": "<string>",
"secondary": "<string>",
"button": "<string>",
"background": "<string>",
"text": "<string>",
"mutedText": "<string>",
"card": "<string>",
"cardText": "<string>",
"buttonText": "<string>",
"dark": {
"primary": "<string>",
"secondary": "<string>",
"button": "<string>",
"background": "<string>",
"text": "<string>",
"mutedText": "<string>",
"card": "<string>",
"cardText": "<string>",
"buttonText": "<string>"
}
},
"logoUrl": "<string>",
"faviconUrl": "<string>",
"title": "<string>"
}
}Authorizations
Body
application/json
Was this page helpful?