Reject a creator proposal
curl --request POST \
--url https://workspace.passionfroot.me/api/v1/proposals/{proposalId}/reject \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"comment": "The dates no longer work for this launch."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({comment: 'The dates no longer work for this launch.'})
};
fetch('https://workspace.passionfroot.me/api/v1/proposals/{proposalId}/reject', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://workspace.passionfroot.me/api/v1/proposals/{proposalId}/reject"
payload = { "comment": "The dates no longer work for this launch." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"proposalId": "<string>",
"collaborationId": "<string>",
"requestId": "<string>",
"status": "offer_pending",
"createdBy": "creator",
"priceCents": 123,
"currency": "<string>",
"packageName": "<string>",
"placements": [
{
"date": "2023-11-07T05:31:56Z",
"postType": "<string>",
"platform": "<string>"
}
],
"comment": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Too many requests, please try again later."
}Proposals
Reject a creator proposal
Rejects a creator-authored proposal and cancels the collaboration. Rejection is naturally idempotent.
POST
/
proposals
/
{proposalId}
/
reject
Reject a creator proposal
curl --request POST \
--url https://workspace.passionfroot.me/api/v1/proposals/{proposalId}/reject \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"comment": "The dates no longer work for this launch."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({comment: 'The dates no longer work for this launch.'})
};
fetch('https://workspace.passionfroot.me/api/v1/proposals/{proposalId}/reject', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://workspace.passionfroot.me/api/v1/proposals/{proposalId}/reject"
payload = { "comment": "The dates no longer work for this launch." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"proposalId": "<string>",
"collaborationId": "<string>",
"requestId": "<string>",
"status": "offer_pending",
"createdBy": "creator",
"priceCents": 123,
"currency": "<string>",
"packageName": "<string>",
"placements": [
{
"date": "2023-11-07T05:31:56Z",
"postType": "<string>",
"platform": "<string>"
}
],
"comment": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Too many requests, please try again later."
}Authorizations
Create an API key from Settings → API in an approved Partner workspace.
Path Parameters
Body
application/json
Optional reason shown to the creator.
Maximum string length:
10000Response
The current proposal state.
Show child attributes
Show child attributes