Applications

Reject an application

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)

post/v1/applications/{id}/reject

Request

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

Path parameters

idstring required

Prefixed id (app_…)

Example:app_7uSyy9FqVLCFWrdPeZaK

Request body

reasonstring

Shown to the applicant word for word. Blank falls back to the program's default sentence.

Response

The rejected application

idstring required

Prefixed id (app_…)

object'application' required
program_idstring required

Prefixed id (prg_…)

group_idstring nullable required

Prefixed id (grp_…)

partner_idstring nullable required

Prefixed id (part_…)

emailstring required
answersunknown
sourcestring nullable required
status'pending' | 'approved' | 'rejected' | 'withdrawn' required
reviewed_by_user_idstring nullable required
reviewed_atstring date-time nullable required

ISO-8601, UTC

rejection_reasonstring nullable required
created_atstring date-time required

ISO-8601, UTC

updated_atstring date-time required

ISO-8601, UTC

Example response

{
  "id": "app_7uSyy9FqVLCFWrdPeZaK",
  "program_id": "prg_7uSyy9FqVLCFWrdPeZaK",
  "group_id": "grp_7uSyy9FqVLCFWrdPeZaK",
  "partner_id": "part_7uSyy9FqVLCFWrdPeZaK",
  "reviewed_at": "2026-08-21T10:15:30.000Z",
  "created_at": "2026-08-21T10:15:30.000Z",
  "updated_at": "2026-08-21T10:15:30.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.