Accept a brand proposal
curl --request POST \
--url https://workspace.passionfroot.me/api/creators/v1/proposals/{proposalId}/accept \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://workspace.passionfroot.me/api/creators/v1/proposals/{proposalId}/accept', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://workspace.passionfroot.me/api/creators/v1/proposals/{proposalId}/accept"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"proposalId": "<string>",
"collaborationId": "<string>",
"requestId": "<string>",
"status": "offer_pending",
"createdBy": "creator",
"priceCents": 123,
"budgetCents": 123,
"currency": "<string>",
"packageName": "<string>",
"placements": [
{
"date": "<string>",
"postType": "<string>",
"platform": "<string>"
}
],
"comment": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Too many requests, please try again later."
}{
"error": "<string>"
}Proposals
Accept a brand proposal
Accepts a pending brand-authored proposal and books its dates. Naturally idempotent.
POST
/
proposals
/
{proposalId}
/
accept
Accept a brand proposal
curl --request POST \
--url https://workspace.passionfroot.me/api/creators/v1/proposals/{proposalId}/accept \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://workspace.passionfroot.me/api/creators/v1/proposals/{proposalId}/accept', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://workspace.passionfroot.me/api/creators/v1/proposals/{proposalId}/accept"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"proposalId": "<string>",
"collaborationId": "<string>",
"requestId": "<string>",
"status": "offer_pending",
"createdBy": "creator",
"priceCents": 123,
"budgetCents": 123,
"currency": "<string>",
"packageName": "<string>",
"placements": [
{
"date": "<string>",
"postType": "<string>",
"platform": "<string>"
}
],
"comment": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Too many requests, please try again later."
}{
"error": "<string>"
}