# צור תג מותאם אישית עם תמונה דרך ה-API

**URL:** <https://meta.discourse.org/t/create-a-custom-badge-with-an-image-through-the-api/210616>\
**Category:** Developers\
**Tags:** badges, rest-api, how-to\
**Created:** [1 בדצמבר,‏ 2021,‏ 12:14am UTC](https://meta.discourse.org/t/create-a-custom-badge-with-an-image-through-the-api/210616 "2021-12-01T00:14:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [1 בדצמבר,‏ 2021,‏ 4:52am UTC](https://meta.discourse.org/t/create-a-custom-badge-with-an-image-through-the-api/210616/2 "2021-12-01T04:52:43Z")

</div>

~~Unfortunately you need a global admin API key for this. I’m hoping the team will implement a way to make granular checks for upload rights, badge creation and editing, badge assignment, and badge removal.~~

You don’t need a global admin API key for this anymore — when creating an API key, you can specify different specific things related to creating, granting, or destroying badges. Don’t forget “upload” if you want to do what this example shows and add your own images. That’s in a separate section from the badges API permissions.

---

_[View the full topic](https://meta.discourse.org/t/create-a-custom-badge-with-an-image-through-the-api/210616)._
