> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.vitablehealth.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.vitablehealth.com/_mcp/server.

# Retrieve

GET https://api.vitablehealth.com/v1/members/{member_id}

Retrieves a member's profile by ID — identity, demographics, address (with county), contact details, tobacco status, marital status, individual and household income, and profile status. Access is scoped to the authenticated principal; a member not visible to the caller returns a 404.

Reference: https://developer.vitablehealth.com/api/members/get

## Authentication

- `Authorization` header (bearer token, required) — API Key or Access Token authentication using Bearer token in Authorization header. API keys use the vit_apk_ prefix, access tokens use the vit_at_ prefix.

## Servers

- `https://api.vitablehealth.com` (Production, default)
- `https://api.uat.vitablehealth.com` (UAT)

## Request

### Path parameters

- `member_id` (string, required) — Unique member identifier (mbr_*)

### Headers

- `X-Vitable-Organization` (string, optional) — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.

## Response

### 200

- `data` (Member, required) — The member record.

## Errors

### 400 Bad Request Error

Bad Request - Invalid input or validation error

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 401 Unauthorized Error

Unauthorized - Invalid or missing API key

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 403 Forbidden Error

Forbidden - Insufficient permissions for this resource

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 404 Not Found Error

Resource not found.

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 409 Conflict Error

Conflict - Resource already exists or conflicts with current state

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 429 Too Many Requests Error

Too Many Requests - Rate limit exceeded

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 500 Internal Server Error

Internal Server Error - An unexpected error occurred

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 502 Bad Gateway Error

Bad Gateway - External service error

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

## Types

### Member

A member's profile: identity, contact details, address, demographics, and onboarding status.

- `id` (string, required) — Unique member identifier with 'mbr_' prefix
- `first_name` (string, required) — Member's legal first name
- `last_name` (string, required) — Member's legal last name
- `name` (string, required) — Member's full legal name
- `date_of_birth` (date, required) — Date of birth (YYYY-MM-DD)
- `age` (integer, required) — Member's age in years, derived from date of birth
- `status` (enum, required) — Member profile status (onboarded or pending onboarding)
  - Allowed values: `onboarded`, `pending_onboarding`
- `email` (string, optional, nullable) — Email address
- `phone` (string, optional, nullable) — Phone number (10-digit US domestic string)
- `address` (MemberAddress, optional, nullable) — Member's residential address
- `middle_name` (string, optional, nullable) — Member's legal middle name
- `suffix` (enum, optional, nullable) — Member's name suffix * `Sr` - Senior * `Jr` - Junior * `I` - First * `II` - Second * `III` - Third * `IV` - Fourth * `V` - Fifth
  - Allowed values: `Sr`, `Jr`, `I`, `II`, `III`, `IV`, `V`
- `sex_at_birth` (enum, optional, nullable) — Sex assigned at birth, if provided * `Male` - Male * `Female` - Female * `Other` - Other * `Unknown` - Unknown
  - Allowed values: `Male`, `Female`, `Other`, `Unknown`
- `gender` (enum, optional, nullable) — Member's gender identity * `Male` - Male * `Female` - Female * `Transgender` - Transgender * `Non-binary` - Non Binary * `Prefer not to respond` - Prefer Not To Respond
  - Allowed values: `Male`, `Female`, `Transgender`, `Non-binary`, `Prefer not to respond`
- `preferred_language` (enum, optional, nullable) — Member's preferred language code (e.g., en, es) * `en` - English * `es` - Spanish * `zh` - Chinese * `ru` - Russian * `sw` - Swahili * `th` - Thai
  - Allowed values: `en`, `es`, `zh`, `ru`, `sw`, `th`
- `tobacco_status` (boolean, optional, nullable) — Whether the member uses tobacco, if known
- `marital_status` (enum, optional, nullable) — Member's marital status, if provided * `Single` - Single * `Married` - Married
  - Allowed values: `Single`, `Married`
- `individual_income_in_cents` (integer, optional, nullable) — Member's annual individual income in cents, if provided
- `household_income_in_cents` (integer, optional, nullable) — Member's annual household income in cents, if provided

### MemberAddress

- `address_line_1` (string, required) — Primary street address
- `city` (string, required) — City name
- `state` (enum, required) — Two-letter state code (e.g., CA, NY) * `AL` - Al * `AK` - Ak * `AZ` - Az * `AR` - Ar * `CA` - Ca * `CO` - Co * `CT` - Ct * `DC` - Dc * `DE` - De * `FL` - Fl * `GA` - Ga * `HI` - Hi * `ID` - Id * `IL` - Il * `IN` - In * `IA` - Ia * `KS` - Ks * `KY` - Ky * `LA` - La * `ME` - Me * `MD` - Md * `MA` - Ma * `MI` - Mi * `MN` - Mn * `MS` - Ms * `MO` - Mo * `MT` - Mt * `NE` - Ne * `NV` - Nv * `NH` - Nh * `NJ` - Nj * `NM` - Nm * `NY` - Ny * `NC` - Nc * `ND` - Nd * `OH` - Oh * `OK` - Ok * `OR` - Or * `PA` - Pa * `RI` - Ri * `SC` - Sc * `SD` - Sd * `TN` - Tn * `TX` - Tx * `UT` - Ut * `VT` - Vt * `VA` - Va * `WA` - Wa * `WI` - Wi * `WV` - Wv * `WY` - Wy * `PR` - Pr * `GU` - Gu * `AS` - As * `VI` - Vi * `MP` - Mp * `MH` - Mh * `PW` - Pw * `FM` - Fm * `AE` - Ae * `AA` - Aa * `AP` - Ap
  - Allowed values: `AL`, `AK`, `AZ`, `AR`, `CA`, `CO`, `CT`, `DC`, `DE`, `FL`, `GA`, `HI`, `ID`, `IL`, `IN`, `IA`, `KS`, `KY`, `LA`, `ME`, `MD`, `MA`, `MI`, `MN`, `MS`, `MO`, `MT`, `NE`, `NV`, `NH`, `NJ`, `NM`, `NY`, `NC`, `ND`, `OH`, `OK`, `OR`, `PA`, `RI`, `SC`, `SD`, `TN`, `TX`, `UT`, `VT`, `VA`, `WA`, `WI`, `WV`, `WY`, `PR`, `GU`, `AS`, `VI`, `MP`, `MH`, `PW`, `FM`, `AE`, `AA`, `AP`
- `zipcode` (string, required) — ZIP code (5 or 9 digit)
- `address_line_2` (string, optional, nullable) — Secondary street address (apt, suite, etc.)
- `county_name` (string, optional, nullable) — County name, if known

## Examples

**Response**

```json
{
  "data": {
    "id": "mbr_abc123def456",
    "first_name": "Jane",
    "last_name": "Doe",
    "name": "Jane Doe",
    "date_of_birth": "1990-04-12",
    "age": 36,
    "status": "onboarded",
    "email": "jane.doe@example.com",
    "phone": "4155550100",
    "address": {
      "address_line_1": "123 Main Street",
      "city": "San Francisco",
      "state": "CA",
      "zipcode": "94102",
      "address_line_2": "Apt 4B",
      "county_name": "San Francisco"
    },
    "middle_name": null,
    "suffix": null,
    "sex_at_birth": "Female",
    "gender": "Female",
    "preferred_language": "en",
    "tobacco_status": false,
    "marital_status": null,
    "individual_income_in_cents": 6500000,
    "household_income_in_cents": 9800000
  }
}
```

**SDK Code**

```python Member Detail
import requests

url = "https://api.vitablehealth.com/v1/members/mbr_abc123def456"

headers = {"Authorization": "Bearer <apiKey>"}

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

print(response.json())
```

```javascript Member Detail
const url = 'https://api.vitablehealth.com/v1/members/mbr_abc123def456';
const options = {method: 'GET', headers: {Authorization: 'Bearer <apiKey>'}};

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

```go Member Detail
package main

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

func main() {

	url := "https://api.vitablehealth.com/v1/members/mbr_abc123def456"

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

	req.Header.Add("Authorization", "Bearer <apiKey>")

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

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

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

}
```

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

url = URI("https://api.vitablehealth.com/v1/members/mbr_abc123def456")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <apiKey>'

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

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

HttpResponse<String> response = Unirest.get("https://api.vitablehealth.com/v1/members/mbr_abc123def456")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.vitablehealth.com/v1/members/mbr_abc123def456', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

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

```csharp Member Detail
using RestSharp;

var client = new RestClient("https://api.vitablehealth.com/v1/members/mbr_abc123def456");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Member Detail
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.vitablehealth.com/v1/members/mbr_abc123def456")! 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()
```