> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# resendInvitation

> Sends the invitation email again to a user who hasn't signed in to the current tenant yet. Returns the membership. `ConflictError`: the user has no pending invitation.



**mutation** `resendInvitation(input: ResendInvitationInput!): ResendInvitationPayload!`

## Arguments

**`input`**: `ResendInvitationInput!` (required)

## Returns

`ResendInvitationPayload!`

**`errors`**: `[ResendInvitationError!]`

---

**`tenantUser`**: `TenantUser`

## Examples

```graphql Mutation
mutation ResendInvitation($input: ResendInvitationInput!) {
  resendInvitation(input: $input) {
    errors {
      __typename
      ... on GraphQlError {
        code
        details {
          __typename
        }
        message
      }
    }
    tenantUser {
      lastLoginDate
      permissions {
        edges {
          __typename
        }
        nodes {
          __typename
        }
        pageInfo {
          __typename
        }
        totalCount
      }
      roles {
        edges {
          __typename
        }
        nodes {
          __typename
        }
        pageInfo {
          __typename
        }
      }
      signInDetails {
        isFirstOcctooSignIn
        isFirstTenantSignIn
      }
      status
      tenant {
        createdAt
        deletedAt
        displayName
        id
        isDeleted
        roles {
          __typename
        }
      }
    }
  }
}
```

```json Variables
{
  "input": {
    "userId": "id"
  }
}
```

```json Response
{
  "data": {
    "resendInvitation": {
      "errors": [
        {
          "__typename": "GraphQlError",
          "code": "string",
          "details": [
            {
              "__typename": "KeyValuePairOfStringAndString"
            }
          ],
          "message": "string"
        }
      ],
      "tenantUser": {
        "lastLoginDate": "value",
        "permissions": {
          "edges": [
            {
              "__typename": "PermissionsEdge"
            }
          ],
          "nodes": [
            {
              "__typename": "Permission"
            }
          ],
          "pageInfo": {
            "__typename": "PageInfo"
          },
          "totalCount": 1
        },
        "roles": {
          "edges": [
            {
              "__typename": "RolesEdge"
            }
          ],
          "nodes": [
            {
              "__typename": "Role"
            }
          ],
          "pageInfo": {
            "__typename": "PageInfo"
          }
        },
        "signInDetails": {
          "isFirstOcctooSignIn": true,
          "isFirstTenantSignIn": true
        },
        "status": "PENDING",
        "tenant": {
          "createdAt": "value",
          "deletedAt": "value",
          "displayName": "string",
          "id": "id",
          "isDeleted": true,
          "roles": {
            "__typename": "RolesConnection"
          }
        }
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.