---
title: "Reject an application"
method: POST
path: "/v1/applications/{id}/reject"
tags: ["Applications"]
---

# Reject an application

`POST /v1/applications/{id}/reject`

## Request

- Base URL: `https://api.affiliaterail.com`
- URL: `https://api.affiliaterail.com/v1/applications/{id}/reject`
- Auth: HTTP bearer

The partner is declined and told why: your `reason` reaches them word for word, and a blank one falls back to the program's default sentence. `application.rejected` fires.

**Scope:** `partners:write` (or `write`)

## Path parameters

- `id` string, required: Prefixed id (`app_…`)

## Request body

- ApplicationReject
  - `reason` string: Shown to the applicant word for word. Blank falls back to the program's default sentence.

## Response `200`

The rejected application

- Application
  - `id` string, required: Prefixed id (`app_…`)
  - `object` 'application', required
  - `program_id` string, required: Prefixed id (`prg_…`)
  - `group_id` string, nullable, required: Prefixed id (`grp_…`)
  - `partner_id` string, nullable, required: Prefixed id (`part_…`)
  - `email` string, required
  - `answers` unknown
  - `source` string, nullable, required
  - `status` 'pending' | 'approved' | 'rejected' | 'withdrawn', required
  - `reviewed_by_user_id` string, nullable, required
  - `reviewed_at` string, date-time, nullable, required: ISO-8601, UTC
  - `rejection_reason` string, nullable, required
  - `created_at` string, date-time, required: ISO-8601, UTC
  - `updated_at` string, date-time, required: ISO-8601, UTC

## Other responses

- `400`: Invalid request
- `401`: Missing or unknown API key
- `403`: Key lacks the required scope
- `404`: No such object in your organization
- `422`: The request was understood and refused
- `429`: Rate limited: see Retry-After

---

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