Skip to main content

List Invites belonging to a Project

GET/projects/{projectId}/invites/
v2
GET
project-list-invites-for-project

Request

  • projectIdstring
    required

    ID of the Project to list invites for.

Responses

Response headers

  • X-Pagination-Limitnumber
  • X-Pagination-Skipnumber
  • X-Pagination-TotalCountnumber
application/json

OK

  • Array[
  • *object
    • avatarRefIdstring (uuid)

      Reference to the Project's avatar.

    • idstring (uuid)
      required

      ID of the ProjectInvite.

    • informationobject
      required
      • invitationTokenstring

        Token for authentication purposes.

      • invitedBystring (uuid)
        required

        ID of the user that created the invite.

      • userIdstring (uuid)

        ID of the user this invite is for.

    • mailAddressstring (email)
      required

      Mail-address of the user the ProjectInvite is for.

    • membershipExpiresAtstring (date-time)

      Time the ProjectMembership should expire at.

    • messagestring

      Message contained in the ProjectInvite.

    • projectDescriptionstring
      required

      Description of the Project the invite is created for.

    • projectIdstring (uuid)
      required

      ID of the Project the invitation is for.

    • rolestring (one of: notset, owner, emailadmin, external)
      required
  • ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/projects/string/invites?limit=50