provider Visitors GET /visitors
@utdk/intercom /visitors
Retrieve a visitor with User ID
You can fetch the details of a single visitor.
Intercom-Version header
enum: 1.0, 1.1, 1.2, 1.3…
user_id query required
The user_id of the Visitor you want to retrieve.
string

Try it

Authentication
Configure credentials for Intercom API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

retrievevisitorwithuserid
GET/visitors
You can fetch the details of a single visitor.

required

The user_id of the Visitor you want to retrieve.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import intercom from '@utdk/intercom';

await intercom.retrievevisitorwithuserid({
  "Intercom-Version": "2.14"
})