Zum Hauptinhalt springen

List customer invites belonging to the executing user

GET/customer-invites/
v2
GET
customer-list-customer-invites

Request

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/customer-invites?limit=50