Zum Hauptinhalt springen

List Invites belonging to a Customer

GET/customers/{customerId}/invites/
v2
GET
customer-list-invites-for-customer

Request

  • customerIdstring
    required

    ID of the Customer to list invites for.

Responses

Response-Header

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

OK

  • Array[
  • *object
    • avatarRefIdstring (uuid)

      Reference to the Project's avatar.

    • customerIdstring (uuid)
      required

      ID of the Customer the invite is for.

    • customerNamestring
      required

      Name of the Customer the user is invited to.

    • idstring (uuid)
      required

      ID of the CustomerInvite.

    • 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 invite is for.

    • membershipExpiresAtstring (date-time)

      Time the CustomerMembership should expire at.

    • messagestring

      Message contained in the CustomerInvite.

    • rolestring (one of: notset, owner, member, accountant)
      required
  • ]

Usage examples

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