PerfectWorks
  1. Organization Members
PerfectWorks
  • Organizations
    • Register new organization
      POST
    • List user's organizations
      GET
    • Get current organization details
      GET
    • Update organization profile
      PUT
    • Get organization statistics
      GET
    • Get organization by slug (public)
      GET
    • Soft delete organization
      DELETE
    • Permanently delete organization
      DELETE
  • Files
    • Generate signed upload URL
      POST
    • Create file record
      POST
    • List files
      GET
    • Get file by ID
      GET
    • Update file
      PUT
    • Delete file
      DELETE
    • Generate download URL
      POST
    • Analyze file
      POST
    • Process file for accessibility
      POST
    • Convert file to different format
      POST
  • API Keys
    • Create a new API key
      POST
    • List user's API keys
      GET
    • Get API key by ID
      GET
    • Update API key description
      PUT
    • Delete API key
      DELETE
  • Referrers
    • Join referral program
    • Get referrer profile
    • Get referrer dashboard
  • Referrer Transactions
    • List referrer's transactions
    • Get transaction details
    • Request withdrawal from pending earnings
  • Referrer Campaigns
    • Create referral campaign
    • List referrer's campaigns
    • Get campaign details
    • Update campaign
    • End campaign
    • Get campaign analytics
  • Referral Links
    • Track referral click and redirect
  • Payments
    • Create a checkout session
    • Get checkout session details
    • Get available products
  • Users
    • Register new client user
    • Register system user
    • Get user profile
    • Update user profile
    • Soft delete user account
    • Permanently delete user account
    • Switch active organization
    • Get current active organization
  • Token Transactions
    • List organization token transactions
    • Get organization token balance
    • Get token transaction by ID
  • Organization Members
    • Invite new member to organization
      POST
    • List organization members
      GET
    • Get user's pending organization invitations
      GET
    • Get member details
      GET
    • Remove organization member
      DELETE
    • Join organization with pending invitation
      PUT
  1. Organization Members

Get user's pending organization invitations

GET
/organization-members/invites
Get pending organization invitations for the authenticated user
Only users with Firebase JWT authentication can access this endpoint
Returns all organizations that have invited the user but user hasn't joined yet
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.perfectworks.io/api/v0/organization-members/invites'
Response Response Example
200 - Example 1
{
    "success": true,
    "message": "Items retrieved successfully",
    "data": [
        {
            "id": "1",
            "name": "Item 1"
        },
        {
            "id": "2",
            "name": "Item 2"
        }
    ],
    "pagination": {
        "page": 1,
        "limit": 10,
        "total": 25,
        "pages": 3,
        "hasNext": true,
        "hasPrev": false
    }
}

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Responses

🟢200OK
application/json
Invitations retrieved successfully
Body

🟠401Unauthorized
🟠403Forbidden
Modified at 2025-08-22 18:48:44
Previous
List organization members
Next
Get member details