Decline a package request
curl --request POST \
--url https://workspace.passionfroot.me/api/creators/v1/requests/{requestId}/decline \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"comment": "I do not have availability during the requested launch window."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({comment: 'I do not have availability during the requested launch window.'})
};
fetch('https://workspace.passionfroot.me/api/creators/v1/requests/{requestId}/decline', 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/requests/{requestId}/decline"
payload = { "comment": "I do not have availability during the requested launch window." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"requestId": "req_abc",
"collaborationId": "collab_abc",
"status": "accepted"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Too many requests, please try again later."
}{
"error": "<string>"
}Requests
Decline a package request
Declines the request and sends the reason to the brand. Naturally idempotent.
POST
/
requests
/
{requestId}
/
decline
Decline a package request
curl --request POST \
--url https://workspace.passionfroot.me/api/creators/v1/requests/{requestId}/decline \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"comment": "I do not have availability during the requested launch window."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({comment: 'I do not have availability during the requested launch window.'})
};
fetch('https://workspace.passionfroot.me/api/creators/v1/requests/{requestId}/decline', 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/requests/{requestId}/decline"
payload = { "comment": "I do not have availability during the requested launch window." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"requestId": "req_abc",
"collaborationId": "collab_abc",
"status": "accepted"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Too many requests, please try again later."
}{
"error": "<string>"
}Authorizations
Create an API key from Settings → API in an approved Creator workspace.
Path Parameters
Body
application/json
Response
The request's current state.
Show child attributes
Show child attributes