Skip to main content
GET
/
contacts
/
{id}
Get contact
curl --request GET \
  --url https://productlane.com/api/v1/contacts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "companyId": "<string>",
  "company": {
    "id": "<string>",
    "name": "<string>",
    "domains": [
      "<string>"
    ]
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "workspaceId": "<string>"
}

Get Contact

Retrieve a specific contact by ID or email. You can only access contacts from your own workspace.

Path Parameters

id
string
required
Contact ID or email address (1-255 characters)

Response

id
string
Unique identifier for the contact
name
string
Contact name
email
string
Contact email address
companyId
string
ID of the associated company
company
object
Associated company information
company.id
string
Company ID
company.name
string
Company name
company.domains
string[]
Company domains
createdAt
string
Timestamp when the contact was created
updatedAt
string
Timestamp when the contact was last updated
workspaceId
string
ID of the workspace this contact belongs to

Example Request

GET /api/v1/contacts/contact_123456789

Example Response

{
  "id": "contact_123456789",
  "name": "John Doe",
  "email": "john@acme.com",
  "companyId": "comp_123456789",
  "company": {
    "id": "comp_123456789",
    "name": "Acme Corp",
    "domains": ["acme.com"]
  },
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:30:00Z",
  "workspaceId": "ws_123456789"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Required string length: 1 - 255

Response

Successful response

id
string
required
name
string
required
email
string
required
companyId
string
required
company
object
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
workspaceId
string
required