Add a media kit module
curl --request POST \
--url https://beta.creatorcore.co/api/v2/media-kits/{id}/modules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{}'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://beta.creatorcore.co/api/v2/media-kits/{id}/modules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/media-kits/{id}/modules"
payload = {}
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,
"module": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "bio",
"rank": 123,
"visible": true,
"config": {}
}
}Media kits
Add a media kit module
Adds a content module to the media kit. Returns 404 if the kit does not exist.
POST
/
api
/
v2
/
media-kits
/
{id}
/
modules
Add a media kit module
curl --request POST \
--url https://beta.creatorcore.co/api/v2/media-kits/{id}/modules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{}'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://beta.creatorcore.co/api/v2/media-kits/{id}/modules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/media-kits/{id}/modules"
payload = {}
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,
"module": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "bio",
"rank": 123,
"visible": true,
"config": {}
}
}Authorizations
Body
application/json
Was this page helpful?