Get a campaign module
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/modules/{mid} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/modules/{mid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/campaigns/{cid}/modules/{mid}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"module": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"position": 123,
"showExternally": true,
"source": "system",
"moduleTypeKey": "<string>",
"orgModuleTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inputs": {}
}
}Campaign modules
Get a campaign module
Returns a module with type, position, and stored inputs.
GET
/
api
/
v2
/
campaigns
/
{cid}
/
modules
/
{mid}
Get a campaign module
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/modules/{mid} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/modules/{mid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/campaigns/{cid}/modules/{mid}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"module": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"position": 123,
"showExternally": true,
"source": "system",
"moduleTypeKey": "<string>",
"orgModuleTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inputs": {}
}
}Authorizations
Was this page helpful?