Active invitations
Invitations that have not yet been accepted or expired.
GET /team/invitations
- Key Permission:
team:read - Key: test or live
Important to know
- For team methods, the limit is stricter than the general one: no more than 20 requests per minute per account.
Request example
curl https://api.shippickup.com/v1/team/invitations \
-H "Authorization: Bearer $SHIPPICKUP_API_KEY"<?php
$ch = curl_init('https://api.shippickup.com/v1/team/invitations');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('SHIPPICKUP_API_KEY'),
],
]);
$response = json_decode((string) curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
print_r([$status, $response]);
import os
import requests
r = requests.get(
"https://api.shippickup.com/v1/team/invitations",
headers={
"Authorization": "Bearer " + os.environ["SHIPPICKUP_API_KEY"],
},
timeout=30,
)
print(r.status_code, r.json())
const res = await fetch("https://api.shippickup.com/v1/team/invitations", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.SHIPPICKUP_API_KEY}`,
},
});
console.log(res.status, await res.json());
Response example 200
JSON
{
"data": [
{
"id": "2f9b6d0c8e1a4573b4c2a9e6d8",
"email": "new.person@example.com",
"role": "staff",
"expires_at": "2026-12-11T10:15:30+00:00",
"created_at": "2026-12-04T10:15:30+00:00"
}
]
}Possible errors
| HTTP | Code | Description |
|---|---|---|
| 403 | insufficient_scope | Key lacks the required permission, specified in error.details.required_scope. |
| 429 | rate_limited | Key request limit exceeded. Retry after the time specified in the Retry-After header. |