Skip to content
Get started

Retrieve a worker email address

client.workers.retrieveEmail(stringworkerID, RequestOptionsoptions?): WorkerRetrieveEmailResponse
GET/api/workers/{workerId}/email

Retrieve the inbound email address for a worker.

ParametersExpand Collapse
workerID: string
ReturnsExpand Collapse
WorkerRetrieveEmailResponse = string

Retrieve a worker email address

import Handinger from 'handinger';

const client = new Handinger({
  apiKey: process.env['HANDINGER_API_KEY'], // This is the default and can be omitted
});

const response = await client.workers.retrieveEmail('t_org_123_w_01HZY2ZJQ8G7K42W2D7WF6V4GM');

console.log(response);
"string"
Returns Examples
"string"