Information
- OpenAPI version:
3.1.0
The public interface to Grouperly for apps and plugins. 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.
The one exception is 2.28.0, which renamed what v2 calls things to what Grouperly calls them, while no live app used v2 (DECISIONS #143): circles are subgroups (/subgroups, /subgroup-types), the groups linked under a group are linked groups (/linked-groups), positions are roles (/roles, roles.read and roles.write, whose earlier names still work), and a member’s role is their access.
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). An add-on also gets a viewer token from the hub with each call, for the person looking, which works like an access token in that one group (DECISIONS #142). 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. An add-on can also send the viewer token the hub gives it with each call (DECISIONS #142): it acts as the person looking, for 10 minutes, on the endpoints of the one group it was given for, with the scopes the app is registered for, and /me… refuses it.
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_…