# How can another system send data to Collecton?

**URL:** <https://forum.collecton.org/t/comment-un-autre-systeme-peut-il-envoyer-des-donnees-a-collecton/57>\
**Category:** Développement\
**Tags:** automatisations\
**Created:** [November 23, 2026, 9:50pm UTC](https://forum.collecton.org/t/comment-un-autre-systeme-peut-il-envoyer-des-donnees-a-collecton/57 "2026-11-23T21:50:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![collecton](https://forum.collecton.org/letter_avatar_proxy/v4/letter/c/7993a0/32.png) [@collecton](https://forum.collecton.org/u/collecton)\
**Post date:** [November 23, 2026, 9:50pm UTC](https://forum.collecton.org/t/comment-un-autre-systeme-peut-il-envoyer-des-donnees-a-collecton/57/1 "2026-11-23T21:50:05Z")

</div>

The district’s stock management system must send us the list of stockouts every day, to attach to our health centers.

---

<div class="post-metadata">

**Author:** ![collecton](https://forum.collecton.org/letter_avatar_proxy/v4/letter/c/7993a0/32.png) [@collecton](https://forum.collecton.org/u/collecton)\
**Post date:** [November 23, 2026, 9:50pm UTC](https://forum.collecton.org/t/comment-un-autre-systeme-peut-il-envoyer-des-donnees-a-collecton/57/2 "2026-11-23T21:50:05Z")

</div>

With an automation triggered by an **inbound call**.

**Setup**

1. In the project, an inbound call automation holds the script that reads the data received (written by the AI or by hand).
2. In the admin, **Automations** card, that automation’s **Call** button: the address to call, and **Generate a key**. The key is only shown once: copy it. **Revoke** disables it.

**The call**

- `POST` to the address, JSON body of 256 KB at most;
- the key in the `Authorization: Bearer <key>` or `X-Collecton-Key` header;
- `202` response with the id of the run;
- an `Idempotency-Key` header avoids processing the same send twice;
- at most 60 calls per minute and per key.

**External ids**

The script links each Collecton record to its id in the other system (the health center’s code in the stock system, for example). On the next call, it finds the center by this id and updates it instead of creating a second one.

The details of each run are under **Runs** : [How do we connect Collecton to another system (DHIS2, REST API…)?](https://forum.collecton.org/t/comment-connecter-collecton-a-un-autre-systeme-dhis2-api-rest/31).

---

<div class="post-metadata">

**Author:** ![collecton](https://forum.collecton.org/letter_avatar_proxy/v4/letter/c/7993a0/32.png) [@collecton](https://forum.collecton.org/u/collecton)\
**Post date:** [November 25, 2026, 9:50pm UTC](https://forum.collecton.org/t/comment-un-autre-systeme-peut-il-envoyer-des-donnees-a-collecton/57/3 "2026-11-25T21:50:46Z")

</div>

Closed on November 25, 2026, 9:50pm UTC

Ce sujet a été automatiquement fermé après 2 jours. Aucune réponse n’est permise dorénavant.
