Information
- OpenAPI version:
3.1.0
The public interface to Grouperly for apps such as Scoutosia. Guide, conventions and versioning policy: docs/specs/platform-api-v2.md.
v2 only ever adds: new endpoints, new optional parameters, new response fields, new enum values and error codes. Clients must ignore fields they don’t know. A breaking change means a v3, and v2 then stays supported for 12 months, announced with Deprecation and Sunset headers.
Lists take ?limit= (1–200, default 50) and ?cursor=, and return { items, nextCursor }. Money is { amount: “25.00”, currency: “USD” }. Times are ISO 8601 in UTC.
Credentials: a group key (one group, acting as the leader who made it), or an app’s access token for a signed-in person, which may do what its scopes, the group’s install of the app and the person’s own permission in the group all allow (DECISIONS #26). Most writes take only an app’s token: an operation without an x-scope has no group key scope.
Writes take a JSON object of at most 16 KB. An unknown, missing or malformed field is a 400 invalid_body naming it in parameter.
A key may make 120 requests a minute, shared with v1. A partner app may make 120 a minute for each person; first-party apps aren’t counted. An app calling as itself (its app secret) has its own 120 a minute.
Authorization: Bearer gk_… Scopes: read, contacts:write, events:write, messages:announce, webhooks:manage, documents:read, payments:read, rsvps:write. Each operation’s required scope is in its x-scope.
Security scheme type: http
Bearer format: gk_…
A Cognito access token for the signed-in person, from Sign in with Grouperly with resource=https://api.grouperly.com. Ask for the scopes each operation lists (its x-app-scope); the group must also have the app installed with them.
Security scheme type: oauth2
Flow type: authorizationCode
Authorization URL: https://auth.grouperly.com/oauth2/authorize
Token URL: https://auth.grouperly.com/oauth2/token
Scopes:
Authorization: Bearer gapp_… A registered app’s own secret, issued by Grouperly, for calls the app makes as itself (never a group’s data).
Security scheme type: http
Bearer format: gapp_…