---
title: "Make"
description: "Txuas Quire rau Make nrog webhook thiab REST API."
image: "https://docs.quirelms.com/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.quirelms.com/hmn/llms.txt
> Use this file to discover all available pages before exploring further.

# Make

<span id="make"></span>

Make txuas rau Quire siv REST API thiab webhook, nrog Make cov HTTP thiab webhook modules. Txhua yam hauv [API reference](https://docs.quirelms.com/api/) siv tau.

## Pib scenario ntawm Quire xwm txheej <!--quire:start-a-scenario-from-a-quire-event-->

1. Ntxiv **Webhooks** module **Custom webhook** ua thawj module, ces luam nws qhov chaw nyob.
2. Hauv Quire, qhib `/admin/webhooks`, xaiv **Add subscription**, muab qhov chaw nyob tso thiab xaiv xwm txheej. Quire qhov xwm txheej xeem qhia Make lub cev zoo li cas: khiav module ib zaug thaum nws xa.
3. Xyuas signature ua ntej ua haujlwm. Hauv webhook advanced settings, cia headers hla mus, ces xyuas `webhook-signature` piv rau `{webhook-id}.{webhook-timestamp}.{body}` nrog subscription secret raws li [phau ntawv tsim kho](/hmn/developer/#webhooks) piav. Ntxiv filter nres scenario yog qhov xyuas tsis dhau.

## Hu Quire ntawm scenario <!--quire:call-quire-from-a-scenario-->

Siv **HTTP** module **Make a request**:

| Teb | Tus nqi |
| --- | --- |
| URL | `https://acme.quirelms.com/api/v1/<resource>` |
| Method | Raws li API reference qhia |
| Headers | `Authorization: Bearer qk_live_...`, thiab `Idempotency-Key` rau kev sau |
| Body type | Raw, JSON |
| Parse response | Yes |

Tsim key rau Make nkaus ntawm `/admin/integrations/api-keys`, nrog scope uas scenario xav tau xwb. Rau npe, voj mus ntxiv thaum `page.has_more` yog true, xa `page.next_cursor` ua `cursor`: Make **Repeater** nrog **Set variable** khaws cursor ua qhov no tau.

Rau scenario uas yuav tsum ua sawv cev rau ib tug neeg, tso npe OAuth client ntawm `/admin/integrations/oauth-clients` thiab siv Make **HTTP** module **Make an OAuth 2.0 request** nrog nws.

## Piv txwv: daim ntsiab lus kawm tiav txhua lim tiam <!--quire:example-weekly-completion-digest-->

1. **Schedule**: txhua hnub Monday.
2. **HTTP**: `GET /api/v1/course_completions?updated_since=<a week ago>`.
3. **Iterator** hla `data`, **Aggregator** muab ua table.
4. Email lossis xa table.

Source: https://docs.quirelms.com/hmn/integrations/make/index.mdx
