The team this credential belongs to: plan, limits, sender identity, AI and SSO.
curl -X GET "https://api.rasket.com/team" \
-H "Authorization: Bearer $RASKET_API_KEY" \
-H "User-Agent: acme-billing/1.0"
const response = await fetch("https://api.rasket.com/team", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.RASKET_API_KEY}`,
"User-Agent": "acme-billing/1.0",
},
});
const { id } = await response.json();
import os
import requests
response = requests.get(
"https://api.rasket.com/team",
headers={
"Authorization": f"Bearer {os.environ['RASKET_API_KEY']}",
"User-Agent": "acme-billing/1.0",
},
)
id = response.json()["id"]
Response 200
{
"object": "team",
"id": "0199c4a2-7b1e-7d30-8f2a-4c6e9b1d3a50",
"name": "Acme",
"slug": "acme",
"created_at": "2026-09-01T09:00:00.000Z",
"risk_state": "normal",
"plan": {
"code": "pro",
"name": "Pro",
"limits": {
"included_emails": 50000,
"daily_cap": null,
"domain_limit": 10,
"webhook_endpoint_limit": 5,
"retention_days": 30
}
},
"sender_identity": {
"sender_name": "Acme",
"postal_address": {
"line1": "1 Example Street",
"city": "Springfield",
"postal_code": "12345",
"country": "US"
}
},
"ai_assist_enabled": false,
"sso": null
}
sso is null until the team has a single sign-on connection. When it has one, it is a summary — status, issuer, client_id, enforced and domains — and never the client secret.- The member list is not here: it is
GET /team/members. - Reachable with a
full_access key, or an OAuth token holding team:read.
Change the sender identity broadcasts print, or switch AI assist on or off.
Body
Body| Field | Type | Description |
|---|
sender_name | string | The name broadcast footers print. One line, at most 200 characters. |
postal_address | object | { line1, line2, city, state, postal_code, country }, with country an upper-case ISO 3166-1 alpha-2 code. Every broadcast footer prints it. |
ai_assist_enabled | boolean | Turn AI assist on or off. Turning it on sends the content you ask about to the model provider; recipient addresses are never included. |
curl -X PATCH "https://api.rasket.com/team" \
-H "Authorization: Bearer $RASKET_API_KEY" \
-H "User-Agent: acme-billing/1.0" \
-H "Content-Type: application/json" \
-d '{
"ai_assist_enabled": true
}'
const response = await fetch("https://api.rasket.com/team", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.RASKET_API_KEY}`,
"User-Agent": "acme-billing/1.0",
"Content-Type": "application/json",
},
body: JSON.stringify({
ai_assist_enabled: true
}),
});
const { id } = await response.json();
import os
import requests
response = requests.patch(
"https://api.rasket.com/team",
headers={
"Authorization": f"Bearer {os.environ['RASKET_API_KEY']}",
"User-Agent": "acme-billing/1.0",
},
json={
"ai_assist_enabled": True
},
)
id = response.json()["id"]
Response 200
{
"object": "team",
"id": "0199c4a2-7b1e-7d30-8f2a-4c6e9b1d3a50",
"name": "Acme",
"slug": "acme",
"created_at": "2026-09-01T09:00:00.000Z",
"risk_state": "normal",
"plan": {
"code": "pro",
"name": "Pro",
"limits": {
"included_emails": 50000,
"daily_cap": null,
"domain_limit": 10,
"webhook_endpoint_limit": 5,
"retention_days": 30
}
},
"sender_identity": {
"sender_name": "Acme",
"postal_address": {
"line1": "1 Example Street",
"city": "Springfield",
"postal_code": "12345",
"country": "US"
}
},
"ai_assist_enabled": true,
"sso": null
}
- Every field is optional and at least one is required. A team with no postal address yet must send one before
sender_name alone is accepted. name is not writable here: a body naming it is 422 validation_error.- Reachable with a
full_access key, or an OAuth token holding team:write.
The people on the team, with their role and whether they use MFA.
curl -X GET "https://api.rasket.com/team/members" \
-H "Authorization: Bearer $RASKET_API_KEY" \
-H "User-Agent: acme-billing/1.0"
const response = await fetch("https://api.rasket.com/team/members", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.RASKET_API_KEY}`,
"User-Agent": "acme-billing/1.0",
},
});
const data = await response.json();
import os
import requests
response = requests.get(
"https://api.rasket.com/team/members",
headers={
"Authorization": f"Bearer {os.environ['RASKET_API_KEY']}",
"User-Agent": "acme-billing/1.0",
},
)
print(response.json())
Response 200
{
"object": "list",
"has_more": false,
"data": [
{
"object": "team_member",
"id": "0199c4a2-7b1e-7d30-8f2a-4c6e9b1d3a51",
"user_id": "0199c4a2-7b1e-7d30-8f2a-4c6e9b1d3a52",
"email": "ronald.williams@example.com",
"name": "Ronald Williams",
"role": "admin",
"mfa_enabled": true,
"sso_exempt": false,
"created_at": "2026-09-01T09:00:00.000Z"
}
]
}
- A
full_access key only. No OAuth scope reaches this route: who is on a team is never shared with a connected app.