---
title: "Approve all pending signups"
method: POST
path: "/v1/forms/{id}/pending/approve-all"
tags: ["Forms"]
---

# Approve all pending signups

`POST /v1/forms/{id}/pending/approve-all`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/forms/{id}/pending/approve-all`
- Auth: HTTP bearer

Confirm pending signups without waiting for the link click, up to 200 per call; call again while `remaining` is above zero. Each one becomes a contact, fires contact.subscribed and gets the welcome email if enabled. Signups whose confirmation email bounced, was marked as spam or failed are left pending and counted in `skipped_undeliverable`. Signups submitted through Tor are left pending and counted in `skipped_tor`. Requires the form:write scope.

## Path parameters

- `id` string, required

## Request body

- object
  - `q` string: Only approve signups matching this search

## Response `200`

Approval result

- object
  - `approved` integer, required
  - `skipped` integer, required
  - `remaining` integer, required
  - `skipped_undeliverable` integer, required
  - `skipped_tor` integer, required

## Other responses

- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `404`: Resource not found
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

[API](https://skmtc.dev/smtpfa/apis/smtpfast-api.md) · [All operations](https://skmtc.dev/smtpfa/apis/smtpfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smtpfa/apis/smtpfast-api/revisions/79dda742f53e?raw)
