Members & Invitations
Manage your organization's team members and pending invitations.
Roles
| Role | Description |
|---|---|
ORG_ADMIN | Full access: manage API keys, members, settings, and view all data |
DEVELOPER | Can call verification endpoints and view API key usage |
MEMBER | Limited view: can view verification stats only |
List members
Terminal
curl https://api.lira.com/api/v1/client/organizations/current/members \
-H "Authorization: Bearer YOUR_TOKEN"Response
JSON
[
{
"id": "usr_...",
"organizationId": "org_...",
"email": "dev@yourcompany.com",
"firstName": "Ada",
"lastName": "Obi",
"role": "DEVELOPER",
"status": "active",
"createdAt": "2026-03-01T09:00:00.000Z",
"updatedAt": "2026-03-01T09:00:00.000Z"
}
]Invite a member
Send an invitation email to a new team member. Invitations expire after 7 days.
Terminal
curl -X POST https://api.lira.com/api/v1/client/organizations/current/members/invite \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"email": "dev@yourcompany.com",
"role": "DEVELOPER"
}'Note
Only DEVELOPER and MEMBER roles can be invited. ORG_ADMIN role can be granted after joining via the update member role endpoint.
Update a member's role
Terminal
curl -X PATCH https://api.lira.com/api/v1/client/organizations/current/members/USER_ID/role \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "role": "ORG_ADMIN" }'Remove a member
Terminal
curl -X DELETE https://api.lira.com/api/v1/client/organizations/current/members/USER_ID \
-H "Authorization: Bearer YOUR_TOKEN"Returns 204 No Content on success.
Note
You cannot remove yourself from the organization.
List pending invitations
Terminal
curl https://api.lira.com/api/v1/client/organizations/current/invitations \
-H "Authorization: Bearer YOUR_TOKEN"Revoke an invitation
Terminal
curl -X DELETE https://api.lira.com/api/v1/client/organizations/current/invitations/INVITATION_ID \
-H "Authorization: Bearer YOUR_TOKEN"Returns 204 No Content on success.