post
https://www.pelcro.com/api/v1/sdk/subscriptions//members/invite
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Invite one or more people to a membership-type subscription by email (1–100 per request). Each invitation creates a pending member and, when the site is configured for it, sends an invitation email. The response is the customer resource with a fresh JWT.
Example:
curl --request POST \
--url 'https://www.pelcro.com/api/v1/sdk/subscriptions/1002/members/invite?site_id=1025' \
--header 'Authorization: Bearer <JWT>' \
--header 'Content-Type: application/json' \
--data '{ "invitation_emails": ["[email protected]"] }'Notes
- Protected — requires the customer's JWT.
- Each email must be valid, not already invited to this subscription, and within the plan's seat capacity — otherwise a
400validation error is returned. - A subscription that is not a membership owned by the customer is rejected with
400.
