Get all pending organization applications

GET /organizations/applications/pending

Retrieve all organization applications that are waiting for approval. Returns applications with PENDING status.

Required Permissions:

  • Role: ADMIN (or equivalent administrative role)

Business Rules:

  • Only administrators can view all pending applications
  • Returns applications in PENDING status only
  • Includes application details and metadata

Responses

  • 200 application/json

    List of pending applications retrieved successfully

    Hide response attributes Show response attributes object
    • id string(uuid)

      External ID of the application

    • submitted_at string(date-time)

      Timestamp when the application was submitted

    • application_status string

      Application status indicating the lifecycle state:

      • pending: Submitted but not yet reviewed
      • approved: Application has been approved by an administrator
      • rejected: Application has been rejected
      • cancelled: Application was cancelled by the user

      Values are pending, approved, rejected, or cancelled.

    • processed_by_user_id string(uuid) | null

      External ID of the user who processed the application

    • processed_at string(date-time) | null

      Timestamp when the application was processed

    • application_form_response string

      JSON string containing the original application form data

  • 401
  • 403
  • 500
GET /organizations/applications/pending
curl \
 --request GET 'http://api.example.com/organizations/applications/pending'
Response examples (200)
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "submitted_at": "2024-01-15T10:30:00Z",
    "application_status": "pending",
    "application_form_response": "{\"name\":\"TechCorp\",\"email\":\"contact@techcorp.com\"}"
  },
  {
    "id": "456e7890-e12b-34c5-d678-901234567890",
    "submitted_at": "2024-01-16T14:22:00Z",
    "application_status": "pending",
    "application_form_response": "{\"name\":\"StartupCo\",\"email\":\"hello@startupco.com\"}"
  }
]