Account
GET
Returns the project (one WhatsApp number = one project), its billing and number state, the key's scopes and the limits that apply. A good first call to check a key.
bearerAuthheader
AuthorizationBearer <token>An API key created in Settings > Integrations (gp_live_…), or an OAuth access token.
Account summary.
application/json- response
project*channel*|Null when no WhatsApp number has been linked yet.
key*limits*curl -X GET 'https://app.groupilot.com/api/v1/me'{ "project": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "timezone": "string", "billing": "active", "automation_blocked": true, "created_at": "2019-08-24T14:15:22Z" }, "channel": { "state": "connected", "phone_masked": "string", "connected_at": "2019-08-24T14:15:22Z" }, "key": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key_id": "string", "scopes": [ "read" ] }, "limits": { "read_per_minute": 0, "write_per_minute": 0, "broadcasts_per_day": 0, "adhoc_messages_per_day": 0, "media_per_day": 0 }}GET
The account's notifications (send failures, disconnections, full communities…), newest first.
bearerAuthheader
AuthorizationBearer <token>An API key created in Settings > Integrations (gp_live_…), or an OAuth access token.
limit?integerRange
1 <= value <= 100Default
20offset?|Range
0 <= value <= 10000Default
0unread_only?|Default
"false"Notifications.
application/json- response
items*array<>curl -X GET 'https://app.groupilot.com/api/v1/notifications'{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "title": "string", "message": "string", "read": true, "metadata": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z" } ]}