List invites for a brand
curl --request GET \
--url https://api.social-api.ai/v1/invites \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/invites', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/invites"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 1,
"data": [
{
"created_at": "2026-03-27T12:00:00Z",
"expires_at": "2026-04-03T12:00:00Z",
"id": "inv_01HZ9X3Q4R5M6N7P8V2K0W1J",
"is_active": true,
"permissions": [
"comments.read",
"comments.write"
],
"platform": "facebook",
"token": "a55755cf...",
"url": "https://api.social-api.ai/invite/a55755cf..."
}
]
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Invites
List invites for a brand
Returns all invites (active and used/expired) for a brand, ordered by created_at DESC.
GET
/
invites
List invites for a brand
curl --request GET \
--url https://api.social-api.ai/v1/invites \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/invites', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/invites"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 1,
"data": [
{
"created_at": "2026-03-27T12:00:00Z",
"expires_at": "2026-04-03T12:00:00Z",
"id": "inv_01HZ9X3Q4R5M6N7P8V2K0W1J",
"is_active": true,
"permissions": [
"comments.read",
"comments.write"
],
"platform": "facebook",
"token": "a55755cf...",
"url": "https://api.social-api.ai/invite/a55755cf..."
}
]
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}