Request verified stats
curl --request POST \
--url https://beta.creatorcore.co/api/v2/creator-connects/{id}/access-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"platforms": []
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({platforms: []})
};
fetch('https://beta.creatorcore.co/api/v2/creator-connects/{id}/access-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/creator-connects/{id}/access-requests"
payload = { "platforms": [] }
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,
"accessRequest": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending"
},
"access": {
"status": "granted",
"platforms": [
{
"platform": "instagram",
"state": "shared",
"asOf": "<string>"
}
],
"grantedAt": "<string>",
"revokedAt": "<string>",
"approvedBy": {
"name": "<string>",
"role": "owner"
},
"verification": {
"method": "sms",
"maskedPhone": "<string>"
},
"requestId": "<string>"
}
}{
"success": true,
"accessRequest": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending"
},
"access": {
"status": "granted",
"platforms": [
{
"platform": "instagram",
"state": "shared",
"asOf": "<string>"
}
],
"grantedAt": "<string>",
"revokedAt": "<string>",
"approvedBy": {
"name": "<string>",
"role": "owner"
},
"verification": {
"method": "sms",
"maskedPhone": "<string>"
},
"requestId": "<string>"
}
}CreatorLink
Request verified stats
Asks the creator to share her verified stats with your organization. She is texted a link to approve; the first approval wins. Returns 201 with status: pending when a request is open (repeat calls return the same one), 200 with granted when you already have access, or 200 with none when she hasn’t connected accounts yet (send her the CreatorLink url instead). Optional body platforms limits what you ask for. To run the approval in your own UI instead, use identity-challenges then grants.
POST
/
api
/
v2
/
creator-connects
/
{id}
/
access-requests
Request verified stats
curl --request POST \
--url https://beta.creatorcore.co/api/v2/creator-connects/{id}/access-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"platforms": []
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({platforms: []})
};
fetch('https://beta.creatorcore.co/api/v2/creator-connects/{id}/access-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/creator-connects/{id}/access-requests"
payload = { "platforms": [] }
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,
"accessRequest": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending"
},
"access": {
"status": "granted",
"platforms": [
{
"platform": "instagram",
"state": "shared",
"asOf": "<string>"
}
],
"grantedAt": "<string>",
"revokedAt": "<string>",
"approvedBy": {
"name": "<string>",
"role": "owner"
},
"verification": {
"method": "sms",
"maskedPhone": "<string>"
},
"requestId": "<string>"
}
}{
"success": true,
"accessRequest": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending"
},
"access": {
"status": "granted",
"platforms": [
{
"platform": "instagram",
"state": "shared",
"asOf": "<string>"
}
],
"grantedAt": "<string>",
"revokedAt": "<string>",
"approvedBy": {
"name": "<string>",
"role": "owner"
},
"verification": {
"method": "sms",
"maskedPhone": "<string>"
},
"requestId": "<string>"
}
}Authorizations
Body
application/json
Was this page helpful?