List collaborations
curl --request GET \
--url https://workspace.passionfroot.me/api/v1/collaborations \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://workspace.passionfroot.me/api/v1/collaborations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://workspace.passionfroot.me/api/v1/collaborations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "<string>",
"name": "<string>",
"creatorId": "<string>",
"campaignId": "<string>",
"status": "pending",
"priceCents": 123,
"usdPriceCents": 123,
"currency": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"statusUpdatedAt": "2023-11-07T05:31:56Z",
"campaign": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"budgetAmountCents": 123,
"budgetCurrency": "<string>"
}
}
],
"pagination": {
"hasMore": true,
"nextCursor": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Too many requests, please try again later."
}Collaborations
List collaborations
Returns collaborations for the organization, optionally expanded with campaign details.
GET
/
collaborations
List collaborations
curl --request GET \
--url https://workspace.passionfroot.me/api/v1/collaborations \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://workspace.passionfroot.me/api/v1/collaborations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://workspace.passionfroot.me/api/v1/collaborations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "<string>",
"name": "<string>",
"creatorId": "<string>",
"campaignId": "<string>",
"status": "pending",
"priceCents": 123,
"usdPriceCents": 123,
"currency": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"statusUpdatedAt": "2023-11-07T05:31:56Z",
"campaign": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"budgetAmountCents": 123,
"budgetCurrency": "<string>"
}
}
],
"pagination": {
"hasMore": true,
"nextCursor": "<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.
Query Parameters
Comma-separated statuses.
Return collaborations with this creator.
Set to campaign to include campaign details.
Available options:
campaign Required range:
1 <= x <= 250Opaque cursor returned by the previous page.