# Recipes

**Call Ping (using API Key)**

Call ping using an API Key to verify your connection to Shipium's API server.

## In this Recipe

1. Set Environment Variables
2. Call Ping using Curl

```cURL
xxxxxxxxxx
```

1

```bash
API_KEY='apiKeyYouGenerated'
```

2

```bash
RESOURCE_SERVER='<<api_url>>'
```

3

```bash

```

4

```bash
curl --location --request GET "$RESOURCE_SERVER/api/v1/deliveryexperience/ping" \
```

5

```bash
   --user "$API_KEY:"
```

## Call Ping (using OAuth)

Call ping using an OAuth token to verify your connection to Shipium's API server.

## Authenticating for Curl

### Recipe Description

Learn to authenticate and get the access token used in other API calls.

## Authenticate and Retrieve an OAuth Token

### Recipe Description

Learn to authenticate and get the access token used in other API calls.
