Update a casting call
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/casting-calls/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://beta.creatorcore.co/api/v2/casting-calls/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/casting-calls/{id}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"castingCall": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"status": "draft",
"wizardStep": "casting_details",
"campaignTitle": "<string>",
"brandName": "<string>",
"category": "music",
"logoUrl": "<string>",
"description": "<string>",
"deadline": "<string>",
"compensationType": "paid",
"shareSetting": "public",
"responseCount": 1,
"createdAt": "<string>",
"updatedAt": "<string>",
"compensationDescription": "<string>",
"deliverableDetails": "<string>",
"gender": "male",
"minAge": 123,
"maxAge": 123,
"minFollowers": 123,
"maxFollowers": 123,
"maxCreatorsPerApplication": 123,
"source": "internal",
"timezone": "<string>",
"questions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rank": 123,
"question": "<string>",
"type": "text",
"required": true
}
],
"deliverablePlatforms": [],
"locations": [],
"answeredQuestionIds": []
}
}Casting calls
Update a casting call
Updates casting call fields. When questions is provided, rows with an id are updated, rows without are created, and omitted rows are deleted. For granular question edits, use the /questions sub-resource. Returns 409 when the update would delete, or change the type of, a question that already has submitted answers (listed in answeredQuestionIds). A published call can’t be given an empty title or platform list (400).
PATCH
/
api
/
v2
/
casting-calls
/
{id}
Update a casting call
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/casting-calls/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://beta.creatorcore.co/api/v2/casting-calls/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/casting-calls/{id}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"castingCall": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"status": "draft",
"wizardStep": "casting_details",
"campaignTitle": "<string>",
"brandName": "<string>",
"category": "music",
"logoUrl": "<string>",
"description": "<string>",
"deadline": "<string>",
"compensationType": "paid",
"shareSetting": "public",
"responseCount": 1,
"createdAt": "<string>",
"updatedAt": "<string>",
"compensationDescription": "<string>",
"deliverableDetails": "<string>",
"gender": "male",
"minAge": 123,
"maxAge": 123,
"minFollowers": 123,
"maxFollowers": 123,
"maxCreatorsPerApplication": 123,
"source": "internal",
"timezone": "<string>",
"questions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rank": 123,
"question": "<string>",
"type": "text",
"required": true
}
],
"deliverablePlatforms": [],
"locations": [],
"answeredQuestionIds": []
}
}Authorizations
Body
application/json
Was this page helpful?