Create Clerk organization membership

Add a user to an organization in a connected Clerk application.

← All Clerk endpoints · Capability overview

POST/v1/clerk/organizations/{organization_id}/memberships

https://api.vee3.io/v1/clerk/organizations/{organization_id}/memberships

10 tokens

Add a user to an organization in a connected Clerk application.

Authorization

Send your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

MCP

The same capability is available as an MCP tool on Vee3 hosted MCP.

Tool name

clerk.create_organization_membership
Parameters4 fields
clerk_instance_idstringOptional

Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.

organization_idstringRequired

Clerk organization id (org_...) to add the member to.

user_idstringRequired

Clerk user id (user_...) of the user to add.

rolestringRequired

Role to assign to the user in the organization (e.g. org:member, org:admin).

Response5 fields
membershipobject
4 fields

Created organization membership.

idstring

Clerk organization membership id (orgmem_...).

user_idstring

Clerk user id (user_...) of the member.

rolestring

Role of the member in the organization (e.g. org:admin, org:member).

created_atinteger

Unix timestamp in milliseconds when the membership was created.

HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required