Invitations

List my invitations

Changed on

List the invitations to the logged in user's email that can still be accepted (pending and not expired), newest first. Users who haven't verified their email get none, as better-auth only lets them accept invitations once they have. Accept or reject them with better-auth's /api/auth/organization/accept-invitation and reject-invitation

get/api/v1/invitations

Request

  • Base URL
    https://app.easyscraper.com
  • URL
    https://app.easyscraper.com/api/v1/invitations
  • Auth
    API key in cookie better-auth.session_token

Response

OK

idstring uuid required
rolestring nullable required
expiresAtstring date-time required
createdAtstring date-time required

Changes