Skip to content
V2 (Legacy) API ReferenceGet started

Get contact cards

GET/v3/contact_card

Returns the contact card for a specific phone number, or all contact cards for the authenticated partner if no phone_number is provided.

Query ParametersExpand Collapse
phone_number: optional string

E.164 phone number to filter by. If omitted, all my cards for the partner are returned.

ReturnsExpand Collapse
contact_cards: array of object { first_name, is_active, phone_number, 2 more }
first_name: string
is_active: boolean
phone_number: string
image_url: optional string
last_name: optional string

Get contact cards

curl https://api.linqapp.com/api/partner/v3/contact_card \
    -H "Authorization: Bearer $LINQ_API_V3_API_KEY"
{
  "contact_cards": [
    {
      "phone_number": "+15551234567",
      "first_name": "John",
      "last_name": "Doe",
      "image_url": "https://cdn.linqapp.com/contact-card/example.jpg",
      "is_active": true
    }
  ]
}
{
  "error": {
    "status": 400,
    "code": 1002,
    "message": "Phone number must be in E.164 format"
  },
  "success": false
}
{
  "error": {
    "status": 401,
    "code": 2004,
    "message": "Unauthorized - missing or invalid authentication token"
  },
  "success": false
}
{
  "error": {
    "status": 403,
    "code": 2005,
    "message": "Access denied - insufficient permissions for this resource"
  },
  "success": false
}
{
  "error": {
    "status": 500,
    "code": 3006,
    "message": "Internal server error"
  },
  "success": false
}
Returns Examples
{
  "contact_cards": [
    {
      "phone_number": "+15551234567",
      "first_name": "John",
      "last_name": "Doe",
      "image_url": "https://cdn.linqapp.com/contact-card/example.jpg",
      "is_active": true
    }
  ]
}
{
  "error": {
    "status": 400,
    "code": 1002,
    "message": "Phone number must be in E.164 format"
  },
  "success": false
}
{
  "error": {
    "status": 401,
    "code": 2004,
    "message": "Unauthorized - missing or invalid authentication token"
  },
  "success": false
}
{
  "error": {
    "status": 403,
    "code": 2005,
    "message": "Access denied - insufficient permissions for this resource"
  },
  "success": false
}
{
  "error": {
    "status": 500,
    "code": 3006,
    "message": "Internal server error"
  },
  "success": false
}