Skip to content
Insy
For developers
Esc
↑↓navigate↵open⌘Jpreview

Access plans of a community the person manages

Name, price, billing period, whether on sale, trial days and the number of active and all-time members of each plan. At most 20.

Scope: communities.read.

GET/v1/communities/{slug}/plans
Authorization
AuthorizationBearer token (API Key) · headerrequired
API Key for programmatic access (format: insy_xxxxx)
Path parameters
slugstringrequired
Responses
200Successful response
successbooleanrequired
Whether the request was successful
errorCodestringrequired
The error code returned by the request
Allowed:not_foundbad_requestalready_existsunauthorizedforbiddeninternal_server_errorservice_unavailabletimeoutconflictprecondition_failedunprocessable_entitytoo_many_requests
messagestringrequired
The message returned by the request
dataV1AccessPlansObject
Show properties
communityV1CommunityRefObjectrequired
Show properties
namestringrequired
slugstringrequired
plansV1AccessPlanObject[]required
At most 20.
Show properties
Array of V1AccessPlanObject
namestringrequired
priceV1MoneyObjectrequired
Show properties
amountCentsnumberrequired
Minor units (cents).
currencystring | nullrequired
paymentModestringrequired
one_time or recurring.
intervalstring | nullrequired
intervalCountnumber | nullrequired
activebooleanrequired
On sale.
trialDaysnumber | nullrequired
activeMembersnumberrequired
totalMembersnumberrequired
Every membership ever bought on the plan.
truncatedbooleanrequired
400Invalid input (`errorCode: bad_request`, `reason: invalid_input`).
401Missing, invalid or expired access token or API key.
403The token lacks the operation's scope (`reason: insufficient_scope`).
429Per-account rate limit (120/min, 3000/h, shared with `/mcp`); see `Retry-After`.
Try it
Server
Authorization
Parameters
Request
curl -X GET "https://api.insy.io/v1/communities/string/plans" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "success": true,
  "errorCode": "not_found",
  "message": "Success",
  "data": {
    "community": {
      "name": "string",
      "slug": "string"
    },
    "plans": [
      {
        "name": "string",
        "price": {
          "amountCents": 0,
          "currency": "PLN"
        },
        "paymentMode": "recurring",
        "interval": "month",
        "intervalCount": 0,
        "active": true,
        "trialDays": 0,
        "activeMembers": 0,
        "totalMembers": 0
      }
    ],
    "truncated": true
  }
}