Actions128
- Org Actions
- Location Actions
- Phone Number Actions
- Membership Actions
- User Actions
- API Key Actions
- Invite Actions
- Onboarding Actions
API Key → Add Org Membership
AI-generatedSummary
Adds a user to an organization membership via the LinderConnect API.
Inputs
- userId (required) — The user's unique identifier
- orgId (required) — The organization's unique identifier
- role — The role of the user within the organization; defaults to 'member' if omitted
Output shape
The created membership record from the LinderConnect API.
No side effects beyond the API call; returns the membership object posted to /api/admin/memberships/org/add.
Examples
Example 1: Grant a user 'admin' role in an organization
userId: 'usr_123', orgId: 'org_456', role: 'admin'