---
title: "Get a contact"
method: GET
path: "/v1/messenger/{channel_id}/contacts/{contact_id}"
tags: ["Public Chat: Contacts"]
---

# Get a contact

`GET /v1/messenger/{channel_id}/contacts/{contact_id}`

## Request

- Base URL: `https://api.oxvo.com`
- URL: `https://api.oxvo.com/v1/messenger/{channel_id}/contacts/{contact_id}`
- Auth: none required

Get the details of a contact

## Response `200`

Success

- PublicContact
  - `id` integer: Id of the contact
  - `source_id` string: The session identifier of the contact
  - `name` string, nullable: Name of the contact when available
  - `email` string, nullable: Email of the contact
  - `phone_number` string, nullable: Phone number of the contact
  - `pubsub_token` string: The token to be used to connect to oxvo websocket

## Other responses

- `401`: Unauthorized
- `404`: The given contact does not exist

---

[API](https://skmtc.dev/oxvo/apis/oxvo-apis.md) · [All operations](https://skmtc.dev/oxvo/apis/oxvo-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oxvo/apis/oxvo-apis/revisions/9a8448cbd1fe?raw)
