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.
Dangerously Get a Member
GEThttps://test.stytch.com/v1/b2b/organizations/members/dangerously_get/{member_id}
Path parameters
member_id* string
Query parameters
include_deleted boolean
Response fields
request_id string
status_code int
member_id string
organization object
member object
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": {...}
}