## Get contact cards

`client.contactCard.retrieve(ContactCardRetrieveParamsquery?, RequestOptionsoptions?): ContactCardRetrieveResponse`

**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.

### Parameters

- `query: ContactCardRetrieveParams`

  - `phone_number?: string`

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

### Returns

- `ContactCardRetrieveResponse`

  - `contact_cards: Array<ContactCard>`

    - `first_name: string`

    - `is_active: boolean`

    - `phone_number: string`

    - `image_url?: string`

    - `last_name?: string`

### Example

```typescript
import LinqAPIV3 from '@linqapp/sdk';

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

const contactCard = await client.contactCard.retrieve();

console.log(contactCard.contact_cards);
```

#### Response

```json
{
  "contact_cards": [
    {
      "phone_number": "+15551234567",
      "first_name": "John",
      "last_name": "Doe",
      "image_url": "https://cdn.linqapp.com/contact-card/example.jpg",
      "is_active": true
    }
  ]
}
```
