GET
/
v1
/
organisations
/
{organisationId}
/
invitations
Get pending invitations for organisation
curl --request GET \
  --url https://wmc.wiremockapi.cloud/v1/organisations/{organisationId}/invitations \
  --header 'Authorization: <api-key>'
{
  "invitations": [
    {
      "id": "neqek",
      "senderId": "9gd5l",
      "recipientEmailAddress": "tom+docsmember2@wiremock.io",
      "newUser": true,
      "role": "organisation_admin",
      "created": "2024-10-30T19:28:23.802551Z",
      "links": {
        "self": "/v1/organisations/mgk7g/invitations/neqek"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Your API key prefixed by 'Token '

Path Parameters

organisationId
string
required

The ID of the organisation

Required string length: 5 - 10
Example:

"jjl8y"

Query Parameters

q
string

The search query to filter by. Partially matched against recipient email address.

Example:

"docs@example.com"

Response

200 - application/json

Success

The response is of type object.