import Conductor from "conductor-node";
const conductor = new Conductor("{{YOUR_SECRET_KEY}}");

const endUser = await conductor.endUsers.retrieve("{{END_USER_ID}}");
{
  "id": "end_usr_1234567abcdefg",
  "sourceId": "12345678-abcd-abcd-example-1234567890ab",
  "email": "bob@bigconstruction.com",
  "name": "Big Construction Co.",
  "createdAt": "2022-11-16 23:51:08.996+00"
}

Parameters

id
string
required

The ID of the EndUser to retrieve.

Response

Returns the EndUser object for a valid identifier.