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": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "This API key is over its rate limit. Wait for Retry-After before sending more.",
"details": {
"limit": 2,
"windowSeconds": 1
}
}
}{
"error": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}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": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "This API key is over its rate limit. Wait for Retry-After before sending more.",
"details": {
"limit": 2,
"windowSeconds": 1
}
}
}{
"error": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INVALID_REQUEST",
"message": "<string>",
"details": "<unknown>"
}
}
