# Get Greeting

## GET or POST Request

{% hint style="info" %}
<https://v1.api19.com/voicemail/greeting/get>
{% endhint %}

Download a greeting from a voicemail box

## HTTP Post Variables Supported

<table data-header-hidden><thead><tr><th width="123.9090576171875"></th><th width="108.54547119140625"></th><th></th></tr></thead><tbody><tr><td>Argument</td><td>Required</td><td>Type</td></tr><tr><td>box_id</td><td>yes</td><td>2-12 digits</td></tr><tr><td>key</td><td>yes</td><td>api key</td></tr></tbody></table>

{% tabs %}
{% tab title="Curl Post" %}

<pre class="language-php"><code class="lang-php"><strong>curl https://v1.api19.com/voicemail/greeting/get \
</strong> -d 'key=api_token' \
 -d 'box_id=2233'
</code></pre>

{% endtab %}

{% tab title="Curl Get" %}

```
curl "https://v1.api19.com/voicemail/greeting/get?key=api_token&box_id=2233"
```

{% endtab %}

{% tab title="JSON Response" %}

```json
{"status":"ok","data":"base64encoded wav file"}
OR
{"status":"error","error":"file not found"}
```

{% endtab %}
{% endtabs %}
