curl --request GET \
--url https://api.example.com/api/v1/accountsList accounts accessible to the authenticated user.
curl --request GET \
--url https://api.example.com/api/v1/accountscurl https://app.framesports.com/api/v1/accounts \
-H "Authorization: Bearer your-api-token"
[
{
"id": 1,
"name": "My Rugby Club",
"owner_id": 42,
"created_at": "2024-01-15T10:30:00.000Z",
"updated_at": "2024-06-01T08:00:00.000Z",
"account_users": [
{ "id": 1, "user_id": 42 },
{ "id": 2, "user_id": 55 }
]
}
]
name to identify which account to target, then pass its prefix ID (e.g. acct_abc123) in the Account-Id header on subsequent requests. See Authentication for details.