GET
/
organization
/
users
/
{user_id}
Retrieve user
curl --request GET \
  --url https://api.openai.com/v1/organization/users/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "organization.user",
  "id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "role": "owner",
  "added_at": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

The ID of the user.

Response

200 - application/json

User retrieved successfully.

Represents an individual user within an organization.

object
enum<string>
required

The object type, which is always organization.user

Available options:
organization.user
id
string
required

The identifier, which can be referenced in API endpoints

name
string
required

The name of the user

email
string
required

The email address of the user

role
enum<string>
required

owner or reader

Available options:
owner,
reader
added_at
integer
required

The Unix timestamp (in seconds) of when the user was added.