## Get contact cards

`client.ContactCard.Get(ctx, query) (*ContactCardGetResponse, error)`

**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 ContactCardGetParams`

  - `PhoneNumber param.Field[string]`

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

### Returns

- `type ContactCardGetResponse struct{…}`

  - `ContactCards []ContactCardGetResponseContactCard`

    - `FirstName string`

    - `IsActive bool`

    - `PhoneNumber string`

    - `ImageURL string`

    - `LastName string`

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/linq-team/linq-go"
  "github.com/linq-team/linq-go/option"
)

func main() {
  client := linqgo.NewClient(
    option.WithAPIKey("My API Key"),
  )
  contactCard, err := client.ContactCard.Get(context.TODO(), linqgo.ContactCardGetParams{

  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", contactCard.ContactCards)
}
```

#### 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
    }
  ]
}
```
