B2B Saas Authentication

/

API reference

/

Members

/

Get a Member (Dangerous)

Dangerously Get a Member

GEThttps://test.stytch.com/v1/b2b/organizations/members/dangerously_get/{member_id}

Get a Member by member_id. This endpoint does not require an organization_id, enabling you to get members across organizations. This is a dangerous operation. Incorrect use may open you up to indirect object reference (IDOR) attacks. We recommend using the Get Member API instead.


Path parameters


member_id*string

Query parameters


include_deletedboolean

Response fields


request_idstring

status_codeint

member_idstring

organizationobject

memberobject
curl --request GET \
  --url https://test.stytch.com/v1/b2b/organizations/members/dangerously_get/member-test-32fc5024-9c09-4da3-bd2e-c9ce4da9375f \
  -u 'PROJECT_ID:SECRET' \
  -H 'Content-Type: application/json'

RESPONSE

200
{
  "status_code": 200,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "member_id": "member-test-32fc5024-9c09-4da3-bd2e-c9ce4da9375f",
  "member": {...},
  "organization": {...}
}