Create a CreatorLink
curl --request POST \
--url https://beta.creatorcore.co/api/v2/creators/{id}/connect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"returnUrl": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({returnUrl: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/creators/{id}/connect', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/creators/{id}/connect"
payload = { "returnUrl": "<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,
"connect": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creatorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "invited",
"url": "<string>",
"returnUrl": "<string>",
"linkedPlatformCount": 1,
"platformAccounts": {
"instagram": {
"accountId": "<string>",
"username": "<string>",
"connectedAt": "<string>"
},
"tiktok": {
"accountId": "<string>",
"username": "<string>",
"connectedAt": "<string>"
},
"youtube": {
"accountId": "<string>",
"username": "<string>",
"connectedAt": "<string>"
}
},
"platforms": [
{
"platform": "instagram",
"status": "connected",
"username": "<string>",
"connectedAt": "<string>",
"lastSyncedAt": "<string>",
"reconnectBy": "<string>"
}
],
"channelPrompts": [
{
"platform": "instagram",
"username": "<string>",
"url": "<string>",
"reason": "on_other_creator"
}
],
"lastSyncedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}Creators
Create a CreatorLink
Creates the creator’s CreatorLink, or returns the existing one. Send the creator to connect.url, or run the flow from your own app with POST /api/v2/creator-connects/{id}/connect-url. The optional returnUrl (https) is where connects started through the API send the creator back to. Returns 503 when verified connections are temporarily unavailable.
POST
/
api
/
v2
/
creators
/
{id}
/
connect
Create a CreatorLink
curl --request POST \
--url https://beta.creatorcore.co/api/v2/creators/{id}/connect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"returnUrl": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({returnUrl: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/creators/{id}/connect', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/creators/{id}/connect"
payload = { "returnUrl": "<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,
"connect": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creatorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "invited",
"url": "<string>",
"returnUrl": "<string>",
"linkedPlatformCount": 1,
"platformAccounts": {
"instagram": {
"accountId": "<string>",
"username": "<string>",
"connectedAt": "<string>"
},
"tiktok": {
"accountId": "<string>",
"username": "<string>",
"connectedAt": "<string>"
},
"youtube": {
"accountId": "<string>",
"username": "<string>",
"connectedAt": "<string>"
}
},
"platforms": [
{
"platform": "instagram",
"status": "connected",
"username": "<string>",
"connectedAt": "<string>",
"lastSyncedAt": "<string>",
"reconnectBy": "<string>"
}
],
"channelPrompts": [
{
"platform": "instagram",
"username": "<string>",
"url": "<string>",
"reason": "on_other_creator"
}
],
"lastSyncedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}Authorizations
Body
application/json
Was this page helpful?