apicheats.dev Cheat sheet Raw .md
POST

Try POST /v1/user_profiles — Claude API

Claude playground

Create User Profile

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.anthropic.com; the proxy stores and logs nothing about them.

Headers

Body application/json

5 body fields
  • external_id · optional · string — Platform's own identifier for this user. Not enforced unique. Maximum 255 characters.
  • name · optional · string — Optional for all profiles. Real-world name of the entity this profile represents (company or individual); for a company the platform resells Claude access to (`access_type` `passthrough`), that company's name where known. Maximum 255 characters.
  • access_type · optional · string — How the platform uses the API for this entity. `application` (default): the profile represents an individual end-user of the platform's product. `passthrough`: the profile identifies a company the platform resells Claude access to.
  • external_user_onboarded_at · optional · string — When the entity this profile represents opened its account with the platform, in RFC 3339 format: for an `application` profile, when the end-user signed up; for a `passthrough` profile, when the company became the platform's customer. Must be a complete timestamp no more than 1 minute in the future. Optional.
  • metadata · optional · object — Free-form key-value data to attach to this user profile. Maximum 16 keys, with keys up to 64 characters and values up to 512 characters. Values must be non-empty strings.