Invite a member
POST
/v1/admin/invitations
const url = 'https://api.sealcord.com/v1/admin/invitations';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"email":"hello@example.com","role":"admin"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.sealcord.com/v1/admin/invitations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "email": "hello@example.com", "role": "admin" }'Invite someone by email with a role (never owner, never above your own); emails them. Only a user through the MCP server (403 forbidden for an API key). Replaces an invitation still pending for the address. 402 plan_limit_reached; 403 insufficient_role; 409 conflict for a member; 429 past the invitation limits.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string format: email
role
required
string
Responses
Section titled “Responses”Missing or invalid API key.
Needs scope members:write.