# Grant a custom badge through the API

**URL:** https://meta.discourse.org/t/grant-a-custom-badge-through-the-api/103270
**Category:** Integrations
**Tags:** rest-api, how-to
**Created:** [December 2, 2018, 1:40am 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:** 8

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [June 2, 2019, 8:19pm UTC](https://meta.discourse.org/t/grant-a-custom-badge-through-the-api/103270/8 "2019-06-02T20:19:18Z")

</div>

Has anybody added a badge (or flair) via Zapier to Discourse API like outlined here?

> [@Trigger a Zapier task with Discourse Webhooks](https://meta.discourse.org/t/discourse-webhooks-and-zapier/56753):
>
> Want to use Discourse Webhooks to trigger a task via [Zapier](https://zapier.com)? Let’s get started! bulb Tip: Zapier now has an [official Discourse integration](https://zapier.com/apps/discourse/integrations) with built-in triggers and actions (e.g. “New Post”, “Create Post”). For common use cases, this is simpler than configuring generic webhooks manually. The guide below covers the manual webhook approach, which gives you more flexibility and access to all Discourse event types. Zapier requires a trigger and an action. In this howto the trigger…

Also, seems like a great candidate for an action via the [official integration](https://meta.discourse.org/t/put-in-a-vote-for-discourse-in-zapier-apps/21858/34), @HAWK.

---

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