---
title: "Make"
description: "웹훅과 REST API로 Quire를 Make에 연결하기."
image: "https://docs.quirelms.com/og.png"
---

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

# Make

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

Make는 자체 HTTP 및 웹훅 모듈로 REST API와 웹훅을 통해 Quire에 연결합니다.
[API 레퍼런스](https://docs.quirelms.com/api/)의 모든 것을 사용할 수 있습니다.

## Quire 이벤트로 시나리오 시작 <!--quire:start-a-scenario-from-a-quire-event-->

1. **Webhooks** 모듈의 **Custom webhook**을 첫 번째 모듈로 추가하고 주소를
   복사하세요.
2. Quire에서 `/admin/webhooks`를 열고 **구독 추가**를 선택해 주소를 붙여넣고
   이벤트를 고르세요. Quire의 테스트 이벤트로 Make가 본문의 형태를 알 수
   있습니다. 이벤트가 전송되는 동안 모듈을 한 번 실행하세요.
3. 작업 전에 서명을 검증하세요. 웹훅의 고급 설정에서 헤더를 전달하도록 한 뒤,
   [개발자 가이드](/ko/developer/#webhooks)에 설명된 대로 구독 비밀로
   `webhook-signature`를 `{webhook-id}.{webhook-timestamp}.{body}`와
   비교하세요. 검증이 실패할 때 시나리오를 멈추는 필터를 추가하세요.

## 시나리오에서 Quire 호출 <!--quire:call-quire-from-a-scenario-->

**HTTP** 모듈의 **Make a request**를 사용하세요.

| 필드 | 값 |
| --- | --- |
| URL | `https://acme.quirelms.com/api/v1/<resource>` |
| Method | API 레퍼런스에 명시된 대로 |
| Headers | `Authorization: Bearer qk_live_...`, 쓰기 요청에는 `Idempotency-Key` |
| Body type | Raw, JSON |
| Parse response | 예 |

Make 전용 키는 `/admin/integrations/api-keys`에서 시나리오에 필요한 스코프만
넣어 만드세요. 목록을 가져올 때는 `page.has_more`가 true인 동안
`page.next_cursor`를 `cursor`로 넘기며 루프합니다. 커서를 담은 **Set
variable**을 가진 Make의 **Repeater**가 이 역할을 합니다.

사람처럼 행동해야 하는 시나리오라면
`/admin/integrations/oauth-clients`에 OAuth 클라이언트를 등록하고 Make의
**HTTP** 모듈 **Make an OAuth 2.0 request**와 함께 사용하세요.

## 예시: 주간 완료 다이제스트 <!--quire:example-weekly-completion-digest-->

1. **Schedule**: 매주 월요일.
2. **HTTP**: `GET /api/v1/course_completions?updated_since=<a week ago>`.
3. `data`에 대해 **Iterator**, 표로 **Aggregator**.
4. 그 표를 이메일로 보내거나 게시합니다.

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