For the complete documentation index, see llms.txt. This page is also available as Markdown.

Account

Account

Your account is the team that owns the API key — a single endpoint returning the team's name, ESP, and owner. There's nothing to look up: the account is always the team the key authenticates as.

Get account

GET https://api.sparkloop.app/v3/account

Query Parameters

Name
Type
Description

expand

String

Comma-separated objects to inline. Supported: team_members.

{
  "account": <Account Object>
}
{
  "error": "API key is invalid!"
}

Example: expand the team's members

curl "https://api.sparkloop.app/v3/account?expand=team_members" \
  -H "x-api-key: YOUR_API_KEY"