# Accorder un badge personnalisé via l'API

**URL:** https://meta.discourse.org/t/grant-a-custom-badge-through-the-api/103270
**Category:** Integrations
**Tags:** rest-api, how-to
**Created:** [Décembre 2, 2018, 1:40 UTC](https://meta.discourse.org/t/grant-a-custom-badge-through-the-api/103270 "2018-12-02T01:40:40Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [Décembre 19, 2021, 8:37 UTC](https://meta.discourse.org/t/grant-a-custom-badge-through-the-api/103270/9 "2021-12-19T20:37:38Z")

</div>

Voir aussi [Create a custom badge with an image through the API](https://meta.discourse.org/t/how-to-create-a-custom-badge-with-an-image-through-the-api/210616), qui montre comment téléverser, et contient également un autre exemple d’attribution du badge (en python).

---

_[View the full topic](https://meta.discourse.org/t/grant-a-custom-badge-through-the-api/103270)._
