## Capabilities

**get** `/print-mail/v1/snap_packs/capabilities`

Provides sizes and mailing classes available for the destination.

### Query Parameters

- `returnCountryCode: string`

  The country code where mail may be returned to.

- `destinationCountryCode: optional string`

  The country code of where the snap pack will be sent to.
  One of `mailingList` or `destinationCountryCode` must be supplied but
  not both.

- `mailingList: optional string`

  Sources destination countries from the provided mailing list.
  One of `mailingList` or `destinationCountryCode` must be supplied but
  not both.

### Returns

- `mailingClasses: array of "first_class" or "standard_class" or "express" or 23 more`

  - `"first_class"`

  - `"standard_class"`

  - `"express"`

  - `"certified"`

  - `"certified_return_receipt"`

  - `"registered"`

  - `"usps_first_class"`

  - `"usps_standard_class"`

  - `"usps_eddm"`

  - `"usps_express_2_day"`

  - `"usps_express_3_day"`

  - `"usps_first_class_certified"`

  - `"usps_first_class_certified_return_receipt"`

  - `"usps_first_class_registered"`

  - `"usps_express_3_day_signature_confirmation"`

  - `"usps_express_3_day_certified"`

  - `"usps_express_3_day_certified_return_receipt"`

  - `"ca_post_lettermail"`

  - `"ca_post_personalized"`

  - `"ca_post_neighbourhood_mail"`

  - `"ups_express_overnight"`

  - `"ups_express_2_day"`

  - `"ups_express_3_day"`

  - `"royal_mail_first_class"`

  - `"royal_mail_second_class"`

  - `"au_post_second_class"`

- `sizes: array of "8.5x11_bifold_v"`

  - `"8.5x11_bifold_v"`

### Example

```http
curl https://api.postgrid.com/print-mail/v1/snap_packs/capabilities \
    -H "X-API-Key: $POSTGRID_PRINT_MAIL_API_KEY"
```

#### Response

```json
{
  "sizes": [
    "8.5x11_bifold_v"
  ],
  "mailingClasses": [
    "express",
    "usps_express_2_day"
  ]
}
```
