Skip to main content

Get an organization member's profile

Requirements, permissions, request and response fields, and error handling.

Request and permissions

GET https://openapi.qwenwork.ai/v1/biz/members/{user_id} Authentication: Authorization: Bearer <access_token>; use an access token obtained through user OAuth authorization. Required business Scope: biz.member.read Authorization method declared in the contract: Organization authorization (organization) The platform must enable the Scope for the application. The user must have the required business permissions, and the target resource must be within their accessible scope. Availability of personal or organization authorization depends on the application's actual console configuration.

Behavior and limitations

Get an organization member's basic profile by user_id, including name, email, phone number, and member status. user_id is the member UUID. The application requires biz.member.read authorization, and the operator requires member read permission. The target member must belong to the authorized organization and a team within the operator's viewing scope. Members in pending, active, frozen, and removed status can be queried. Success returns the member profile directly. Missing contact details are returned as null.

Path parameters

ParameterTypeRequiredDescription and constraints
user_idstringYesTarget member UUID
Format: "uuid"

Request body

The public contract does not declare a request body. Do not add identity fields or undeclared business fields.

Success response

Preserve each business API's original response structure. Do not add a common code/msg/data wrapper.

HTTP 200

Organization member profile retrieved successfully. Response type: application/json
{
  "email": "member@example.com",
  "first_name": "示例成员",
  "last_name": "",
  "org_id": "00000000-0000-4000-8000-000000000002",
  "phone": null,
  "status": "frozen",
  "team_id": "00000000-0000-4000-8000-000000000003",
  "user_id": "00000000-0000-4000-8000-000000000001",
  "username": "example-member"
}
FieldTypeRequiredDescription and constraints
emailstring | nullYes—
first_namestringYes—
last_namestringYes—
org_idstringYes—
phonestring | nullYes—
statusstringYes—
team_idstringYes—
user_idstringYes—
usernamestringYes—

Error responses

HTTPDescription and handling
400The request or operator identity profile does not meet business requirements. primary_contact_phone_required / primary_contact_email_required means both phone number and email are missing. Complete the profile before retrying.
401Missing or invalid token. Check the organization-authorized access token.
403Scope, operator permission, or organization/team scope checks failed. Verify the target member's scope and organization authorization.
404The target member does not exist. Verify the member identifier and authorization scope.
405Method Not Allowed
409Reserved generic conflict response. This query does not define member creation or seat change conflicts. Retain the request ID and contact support.
413Request Entity Too Large
415Unsupported Media Type
422Invalid parameter type, UUID, required field, or length. Correct the request at the location indicated in detail.
429Too Many Requests
500Business processing failed. Retain request_id/trace_id and contact support. For writes, verify the actual outcome before retrying.
502Biz service call failed. Retain request_id/trace_id and contact support. For writes, verify the actual outcome before retrying.
503Biz service temporarily unavailable. For writes, verify the actual outcome before retrying.
504Biz service call timed out. The outcome of a write may be uncertain; verify the actual outcome before retrying.
Retain the request ID and error fields from the response for troubleshooting. A write operation may have taken effect even after a timeout or disconnection. Do not automatically retry solely because no success response was received.

Complete field contract

The JSON below contains this API's complete request, response, and error schemas, nested constraints, and public extension definitions. Copy it for reference. No success examples are inferred where none are declared.
{
  "components": {
    "schemas": {
      "BizDomainErrorResponse": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "org_status_reason": {
            "description": "Raw JSON value of the organization status reason; may be null"
          },
          "request_id": {
            "type": "string"
          },
          "seat_count": {
            "description": "Configured organization seat count, returned when provided by the domain error",
            "format": "int64",
            "type": "integer"
          },
          "seat_used": {
            "description": "Used organization seat count, returned when provided by the domain error",
            "format": "int64",
            "type": "integer"
          },
          "trace_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "error",
          "detail",
          "request_id",
          "trace_id"
        ],
        "type": "object"
      },
      "BizGatewayErrorResponse": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "integer"
          },
          "data": {
            "type": "null"
          },
          "error_code": {
            "type": "string"
          },
          "msg": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "trace_id": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "msg",
          "data",
          "error_code"
        ],
        "type": "object"
      },
      "MemberRead": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "org_id": {
            "type": "string"
          },
          "phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "team_id": {
            "type": "string"
          },
          "user_id": {
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "user_id",
          "org_id",
          "team_id",
          "username",
          "first_name",
          "last_name",
          "email",
          "phone",
          "status"
        ],
        "type": "object"
      },
      "ValidationErrorResponse": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationIssue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "error": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "trace_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "error",
          "detail",
          "request_id",
          "trace_id"
        ],
        "type": "object"
      },
      "ValidationIssue": {
        "additionalProperties": false,
        "properties": {
          "ctx": {
            "additionalProperties": {},
            "type": "object"
          },
          "input": {},
          "loc": {
            "items": {},
            "type": [
              "array",
              "null"
            ]
          },
          "msg": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "loc",
          "msg",
          "input"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "OpenPlatformBearer": {
        "description": "Organization-authorized application access token; Scope does not replace operator permissions or resource isolation",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/biz/members/{user_id}": {
      "get": {
        "description": "Get an organization member's basic profile by user_id, including name, email, phone number, and member status. user_id is the member UUID.\n\nThe application requires biz.member.read authorization, and the operator requires member read permission. The target member must belong to the authorized organization and a team within the operator's viewing scope. Members in pending, active, frozen, and removed status can be queried.\n\nSuccess returns the member profile directly. Missing contact details are returned as null.",
        "operationId": "biz-get-member",
        "parameters": [
          {
            "description": "Target member UUID",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "email": "member@example.com",
                  "first_name": "示例成员",
                  "last_name": "",
                  "org_id": "00000000-0000-4000-8000-000000000002",
                  "phone": null,
                  "status": "frozen",
                  "team_id": "00000000-0000-4000-8000-000000000003",
                  "user_id": "00000000-0000-4000-8000-000000000001",
                  "username": "example-member"
                },
                "schema": {
                  "$ref": "#/components/schemas/MemberRead"
                }
              }
            },
            "description": "Organization member profile retrieved successfully.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "The request or operator identity profile does not meet business requirements. primary_contact_phone_required / primary_contact_email_required means both phone number and email are missing. Complete the profile before retrying.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "Missing or invalid token. Check the organization-authorized access token.",
            "headers": {
              "WWW-Authenticate": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "Scope, operator permission, or organization/team scope checks failed. Verify the target member's scope and organization authorization.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "The target member does not exist. Verify the member identifier and authorization scope.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "405": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BizGatewayErrorResponse"
                }
              }
            },
            "description": "Method Not Allowed",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "Reserved generic conflict response. This query does not define member creation or seat change conflicts. Retain the request ID and contact support.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BizGatewayErrorResponse"
                }
              }
            },
            "description": "Request Entity Too Large",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BizGatewayErrorResponse"
                }
              }
            },
            "description": "Unsupported Media Type",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ValidationErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "Invalid parameter type, UUID, required field, or length. Correct the request at the location indicated in detail.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BizGatewayErrorResponse"
                }
              }
            },
            "description": "Too Many Requests",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "string"
                }
              },
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "Business processing failed. Retain request_id/trace_id and contact support. For writes, verify the actual outcome before retrying.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "502": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "Biz service call failed. Retain request_id/trace_id and contact support. For writes, verify the actual outcome before retrying.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "Biz service temporarily unavailable. For writes, verify the actual outcome before retrying.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "Biz service call timed out. The outcome of a write may be uncertain; verify the actual outcome before retrying.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          }
        },
        "security": [
          {
            "OpenPlatformBearer": []
          }
        ],
        "summary": "Get an organization member's profile",
        "tags": [
          "成员"
        ]
      }
    }
  },
  "info": {
    "title": "Get an organization member's profile",
    "version": "2026-11-24"
  },
  "servers": [
    {
      "url": "https://openapi.qwenwork.ai"
    }
  ]
}
Back to the OpenAPI overview.