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

# registerMember

> Register a new member with the provided email and roles



**mutation** `registerMember: User!`

## Returns

`User!`

**`department`**: `Department`

User selected department

---

**`email`**: `String`

User email

---

**`id`**: `UUID!`

Unique identifier for the entity

---

**`lastSeenAt`**: `DateTime`

Last time the user logged in

---

**`memberships`**: `[Member!]!`

Environments this user is a member of

---

**`name`**: `String`

User first and last name

---

**`profileImageUrl`**: `String`

Link to the profile image

---

**`supportChatToken`**: `String`

support chat user identity token

## Examples

```graphql Mutation
mutation RegisterMember {
  registerMember {
    department
    email
    id
    lastSeenAt
    memberships {
      accessRoles {
        accountRole
        nonProductionRole
        productionRole
      }
      account {
        accessMethod
        accountEmailDomain
        accountStatus
        defaultSSORoles {
          __typename
        }
        displayName
        emailDomains {
          __typename
        }
      }
      createdAt
      cubejsToken
      customerToken
      email
    }
    name
  }
}
```

```json Response
{
  "data": {
    "registerMember": {
      "department": "CEO_OR_FOUNDER",
      "email": "string",
      "id": "value",
      "lastSeenAt": "value",
      "memberships": [
        {
          "accessRoles": {
            "accountRole": "MEMBER",
            "nonProductionRole": "ADMIN",
            "productionRole": "ADMIN"
          },
          "account": {
            "accessMethod": "AUTHORIZED_DOMAIN",
            "accountEmailDomain": "string",
            "accountStatus": "ACTIVE",
            "defaultSSORoles": {
              "__typename": "AccessRoles"
            },
            "displayName": "string",
            "emailDomains": [
              {
                "__typename": "AccountEmailDomain"
              }
            ]
          },
          "createdAt": "value",
          "cubejsToken": "string",
          "customerToken": "string",
          "email": "string"
        }
      ],
      "name": "string"
    }
  }
}
```


## Related topics

- [Member](https://docs.stigg.io/graphql-reference/types/Member.md)
- [members](https://docs.stigg.io/graphql-reference/queries/members.md)
- [Google ADK](https://docs.stigg.io/documentation/ai-agents/orchestrators/google-adk.md)
- [Team members](https://docs.stigg.io/documentation/managing-your-account/access-management/team-members.md)
- [MemberStatus](https://docs.stigg.io/graphql-reference/types/MemberStatus.md)


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