## List experiences you can invoke

`client.Experiences.List(ctx) (*ExperienceListResponse, error)`

**get** `/v3/experiences`

The experiences enabled for your account, with the actions you may
invoke on each and the fields each action accepts. This is the
authoritative list — an action missing here cannot be sent.

### Returns

- `type ExperienceListResponse struct{…}`

  - `Experiences []ExperienceListResponseExperience`

    - `Actions []ExperienceListResponseExperienceAction`

      - `Fields map[string, ExperienceListResponseExperienceActionField]`

        Fields you may send in `params`, keyed by the exact name to use.

        - `Max int64`

          Maximum length, for strings.

        - `Required bool`

        - `Type string`

          - `const ExperienceListResponseExperienceActionFieldTypeString ExperienceListResponseExperienceActionFieldType = "string"`

          - `const ExperienceListResponseExperienceActionFieldTypeCents ExperienceListResponseExperienceActionFieldType = "cents"`

          - `const ExperienceListResponseExperienceActionFieldTypeInt ExperienceListResponseExperienceActionFieldType = "int"`

          - `const ExperienceListResponseExperienceActionFieldTypeURL ExperienceListResponseExperienceActionFieldType = "url"`

      - `Name string`

      - `Summary string`

    - `DisplayName string`

    - `Experience 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"),
  )
  experiences, err := client.Experiences.List(context.TODO())
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", experiences.Experiences)
}
```

#### Response

```json
{
  "experiences": [
    {
      "actions": [
        {
          "fields": {
            "foo": {
              "max": 0,
              "required": true,
              "type": "string"
            }
          },
          "name": "attach_card",
          "summary": "Ask the customer to add a card to their wallet."
        }
      ],
      "display_name": "Agentcard",
      "experience": "agentcard"
    }
  ]
}
```
