Verify an identity check
curl --request POST \
--url https://beta.creatorcore.co/api/v2/creator-connects/{id}/identity-challenges/{challengeId}/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"code": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({code: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/creator-connects/{id}/identity-challenges/{challengeId}/verify', 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}/identity-challenges/{challengeId}/verify"
payload = { "code": "<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,
"challenge": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"verified": true
}
}CreatorLink
Verify an identity check
Checks the code the creator entered (sms, body { code }) or the account she reconnected (account_relink, no body). Idempotent once verified. Fails with 400 and a code: identity_challenge_invalid_code, identity_challenge_expired, identity_challenge_too_many_attempts (start a new challenge), identity_challenge_not_verified, identity_challenge_account_mismatch, identity_challenge_used or identity_challenge_not_found.
POST
/
api
/
v2
/
creator-connects
/
{id}
/
identity-challenges
/
{challengeId}
/
verify
Verify an identity check
curl --request POST \
--url https://beta.creatorcore.co/api/v2/creator-connects/{id}/identity-challenges/{challengeId}/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"code": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({code: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/creator-connects/{id}/identity-challenges/{challengeId}/verify', 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}/identity-challenges/{challengeId}/verify"
payload = { "code": "<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,
"challenge": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"verified": true
}
}Authorizations
Body
application/json
Was this page helpful?