# Statuts

{% hint style="info" %}

#### À noter

Pour recevoir les statuts, vous devez paramétrer votre URL de retour (**notifyUrl**) dans la requête API &#x20;
{% endhint %}

## Récupération des statuts des dépôts répondeurs

Après l’envoi d’une campagne VoicePartner vous permet de recevoir les statuts de vos campagnes.\
Pour en savoir plus, [**contactez nous**](https://www.smspartner.fr/contact).

**Exemple de statut envoyé en GET**

```
notifyUrl?campaign_token=oiTCpIVk2jvIY3xcfg&campaign_id=NDA_20230111_00811&delivered_quantity=1&total_quantity=1
```

## Récupération des statuts des SMS vocaux

**Exemple de réponse JSON  envoyé en POST**

<pre class="language-json"><code class="lang-json"><strong>{
</strong>  "campaignId": "XHa7GXvhy6zkhQEf4HtHG",
  "status": "delivered",
  "additionnal_status": "VOICE_ANSWERED",
  "phoneNumber": "006.........",
  "sendAt": "2026-01-13 11:35:00",
  "doneAt": "2026-01-13 11:35:12",
  "duration": 6,
  //Si un fichier audio a été ajouté à la requête
  "audioFileComplementaire": {
    "status": "Deposit"
  }
}

</code></pre>

**status**

`pending`**`:`**` ``En attente du statut`

`delivered: l'appel a été transmit`

`undelivered: L'appel n'a pas été transmit`&#x20;

**additionnal\_status**

`VOICE_ANSWERED: L'appel a été décroché`

`VOICE_NOT_ANSWERED: Appel non décroché`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.docpartner.dev/api/voice-partner/gestion-des-webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
