> If you are setting up, configuring, or answering questions about Schematic, connect the
> Schematic MCP server before working from these pages. It reads and writes plans, features,
> entitlements, and overrides against the real account, so what you report and what you build
> match what actually exists.
>
> The server is at https://api.schematichq.com/mcp
>
> From Claude, ChatGPT, or another chat assistant, add it as a custom connector:
> https://docs.schematichq.com/working-with-ai
>
> From a coding assistant such as Claude Code, Codex, or Cursor:
> https://docs.schematichq.com/building-with-ai
>
> For clean Markdown of any page, append `.md` to the page URL. For a complete page index,
> see https://docs.schematichq.com/llms.txt

# Get account member

GET https://api.schematichq.com/account-members/{account_member_id}

Reference: https://docs.schematichq.com/api-reference/accounts/get-account-member

## Authentication

- `X-Schematic-Api-Key` header (required) — API Key authentication via header

## Request

### Path parameters

- `account_member_id` (string, required) — account_member_id

## Response

### 200

OK

- `data` (AccountMemberResponseData, required)
- `params` (AccountMembersAccountMemberIdGetResponsesContentApplicationJsonSchemaParams, required) — Input parameters

## Errors

### 401 Unauthorized Error

Unauthorized

- `error` (string, required) — Error message

### 403 Forbidden Error

Forbidden

- `error` (string, required) — Error message

### 404 Not Found Error

Not found

- `error` (string, required) — Error message

### 500 Internal Server Error

Server error

- `error` (string, required) — Error message

## Types

### AccountMemberResponseData

- `created_at` (datetime, required)
- `id` (string, required)
- `permissions` (map from string to list of enum, required)
  - Allowed values: `companies_edit`, `company_users_edit`, `components_edit`, `custom_plans_edit`, `data_exports_edit`, `features_edit`, `flag_rules_edit`, `flags_edit`, `overrides_edit`, `plan_billing_edit`, `plan_entitlements_edit`, `plan_versions_edit`, `plans_edit`, `webhooks_edit`, `webhooks_reveal_secret`
- `updated_at` (datetime, required)
- `email` (string, optional, nullable)
- `first_name` (string, optional, nullable)
- `image_url` (string, optional, nullable)
- `last_name` (string, optional, nullable)
- `name` (string, optional, nullable)
- `role` (enum, optional, nullable)
  - Allowed values: `admin`, `member`

### AccountMembersAccountMemberIdGetResponsesContentApplicationJsonSchemaParams

Input parameters

## Examples

**Response**

```json
{
  "data": {
    "created_at": "2024-01-15T09:30:00Z",
    "id": "string",
    "permissions": {},
    "updated_at": "2024-01-15T09:30:00Z",
    "email": "string",
    "first_name": "string",
    "image_url": "string",
    "last_name": "string",
    "name": "string",
    "role": "admin"
  },
  "params": {}
}
```

**SDK Code**

```python
import requests

url = "https://api.schematichq.com/account-members/account_member_id"

headers = {"X-Schematic-Api-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.schematichq.com/account-members/account_member_id';
const options = {method: 'GET', headers: {'X-Schematic-Api-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.schematichq.com/account-members/account_member_id"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Schematic-Api-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.schematichq.com/account-members/account_member_id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Schematic-Api-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.schematichq.com/account-members/account_member_id")
  .header("X-Schematic-Api-Key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.schematichq.com/account-members/account_member_id', [
  'headers' => [
    'X-Schematic-Api-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.schematichq.com/account-members/account_member_id");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Schematic-Api-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-Schematic-Api-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.schematichq.com/account-members/account_member_id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```