---
title: "Validate the authenticated credential"
method: GET
path: "/me"
---

# Validate the authenticated credential

`GET /me`

## Request

- Base URL: `https://app.formasty.com/api/v1`
- URL: `https://app.formasty.com/api/v1/me`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://app.formasty.com/oauth/authorize/api/v1`, token URL `https://app.formasty.com/oauth/token`)
  - HTTP bearer

Returns the OAuth or API-key owner, preferred workspace, credential type, and granted scopes.

## Response `200`

Authenticated credential profile.

- ApiKeyProfileResponse
  - `owner` object, required
    - `id` string, required
    - `email` string, email, required
    - `username` string, required
  - `preferred_workspace` string, required
  - `credential` object, required
    - `type` 'api_key' | 'oauth', required
    - `id` string
    - `workspace_id` string, required
    - `workspace_name` string, required
    - `name` string
    - `prefix` string
    - `last4` string
    - `scopes` string[], required
    - `last_used_at` integer, nullable
    - `revoked_at` integer, nullable
    - `client_id` string
    - `connection_id` string

## Other responses

- `401`: Missing or invalid credential.
- `default`: A machine-readable error with a stable code and a recovery hint. The legacy error value is retained for existing clients.

---

[API](https://skmtc.dev/formasty/apis/formasty-forms-api.md) · [All operations](https://skmtc.dev/formasty/apis/formasty-forms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/formasty/apis/formasty-forms-api/revisions/09ad7f50c693?raw)
