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

# team_membership_create

> Add a member to a team.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.linear.app/graphql"}</code></div>

```python linear_team_membership_create.py theme={null}
from charter.packs import linear

result = await linear.team_membership_create.ainvoke({"variables": ...})
```

<Note>
  Posts a GraphQL document to `POST /graphql`, as every tool in this pack does.
</Note>

## Body

<div className="reference-table">
  | Field                                                             | Type                                                                                                   | Description               |
  | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------- |
  | `variables` <span className="required" title="required">\*</span> | [TeamMembershipCreateVariables](/charter/charter/packs/linear/workspace/objects#teammembershipcreatevariables) | The membership to create. |
</div>
