> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.beehiiv.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.beehiiv.com/_mcp/server.

# Reject paid recommendation application <Badge intent="info" minimal outlined>OAuth Scope: posts:write</Badge>

POST https://api.beehiiv.com/v2/publications/{publicationId}/paid_recommendations/applications/{applicationId}/reject
Content-Type: application/json

This feature is currently in beta and the API is subject to change.

Reject a pending application. The applicant is notified and sees the rejected reason.

Reference: https://developers.beehiiv.com/api-reference/paid-recommendations-applications/reject

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `publicationId` (string, required) — The prefixed ID of the publication object
- `applicationId` (string, required) — The prefixed ID of the application object

### Body (application/json)

This endpoint expects an object.

- `rejected_reason` (string, optional) — Why you rejected the application. The applicant sees this reason.

## Response

### 200

OK

- `data` (PaidRecommendationApplication, required)

## Errors

### 400 Bad Request Error

Bad Request

- `status` (integer, required)
- `statusText` (string, required)
- `errors` (list of ErrorDetail, required)

### 401 Unauthorized Error

Unauthorized. The API key or OAuth access token is missing, invalid, or expired.

- `status` (integer, required)
- `statusText` (string, required)
- `errors` (list of ErrorDetail, required)

### 403 Forbidden Error

Forbidden

- `status` (integer, required)
- `statusText` (string, required)
- `errors` (list of ErrorDetail, required)

### 404 Not Found Error

Resource Not Found

- `status` (integer, required)
- `statusText` (string, required)
- `errors` (list of ErrorDetail, required)

### 422 Unprocessable Entity Error

Unprocessable Entity

- `status` (integer, required)
- `statusText` (string, required)
- `errors` (list of ErrorDetail, required)

### 429 Too Many Requests Error

Rate Limit Exceeded

- `status` (integer, required)
- `statusText` (string, required)
- `errors` (list of ErrorDetail, required)

### 500 Internal Server Error

Internal Server Error

- `status` (integer, required)
- `statusText` (string, required)
- `errors` (list of ErrorDetail, required)

## Types

### PaidRecommendationApplication

- `accepted_subscribers` (integer, required) — Subscribers that passed verification and were paid for.
- `auto_accepted` (boolean, required) — Whether the application was accepted automatically by the offer's auto-accept settings.
- `created_at` (integer, required) — The time the application was submitted. Measured in seconds since the Unix epoch.
- `id` (string, required) — The prefixed ID of the application or partnership.
- `offer` (PaidRecommendationAgreementOffer, required) — The offer the recommending publication applied to.
- `pending_spend_cents` (integer, required) — The amount in cents reserved for pending subscribers.
- `pending_subscribers` (integer, required) — Subscribers waiting for verification.
- `recommending_publication` (PaidRecommendationAgreementPublication, required) — The publication that recommends you.
- `status` (enum, required) — The current status of the application.
  - Allowed values: `pending`, `rejected`, `frozen`, `archived`
- `total_spend_cents` (integer, required) — The amount in cents spent on accepted subscribers.
- `total_subscribers` (integer, required) — All subscribers the recommending publication has sent you, in any verification state.
- `updated_at` (integer, required) — The time the record was last updated. Measured in seconds since the Unix epoch.
- `rejected_reason` (string, optional) — The reason given when the application was rejected. The applicant sees this reason.

### ErrorDetail

- `message` (string, required)
- `code` (string, required)

### PaidRecommendationAgreementOffer

- `id` (string, required) — The prefixed ID of the offer.
- `name` (string, required) — The name of the offer.

### PaidRecommendationAgreementPublication

- `id` (string, required) — The prefixed ID of the recommending publication.
- `name` (string, required) — The name of the recommending publication.
- `url` (string, required) — The URL of the recommending publication's website.

## Examples

**Request**

```json
{
  "rejected_reason": "Our audiences don't overlap enough."
}
```

**Response**

```json
{
  "data": {
    "accepted_subscribers": 0,
    "auto_accepted": false,
    "created_at": 1767225600,
    "id": "rec_agr_00000000-0000-0000-0000-000000000000",
    "offer": {
      "id": "rec_offer_00000000-0000-0000-0000-000000000000",
      "name": "Spring growth offer"
    },
    "pending_spend_cents": 0,
    "pending_subscribers": 0,
    "recommending_publication": {
      "id": "pub_00000000-0000-0000-0000-000000000001",
      "name": "The Morning Brief",
      "url": "https://morningbrief.beehiiv.com/"
    },
    "status": "rejected",
    "total_spend_cents": 0,
    "total_subscribers": 0,
    "updated_at": 1767312000,
    "rejected_reason": "Our audiences don't overlap enough."
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.beehiiv.com/v2/publications/pub_00000000-0000-0000-0000-000000000000/paid_recommendations/applications/rec_agr_00000000-0000-0000-0000-000000000000/reject"

payload = { "rejected_reason": "Our audiences don't overlap enough." }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.beehiiv.com/v2/publications/pub_00000000-0000-0000-0000-000000000000/paid_recommendations/applications/rec_agr_00000000-0000-0000-0000-000000000000/reject';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"rejected_reason":"Our audiences don\'t overlap enough."}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.beehiiv.com/v2/publications/pub_00000000-0000-0000-0000-000000000000/paid_recommendations/applications/rec_agr_00000000-0000-0000-0000-000000000000/reject"

	payload := strings.NewReader("{\n  \"rejected_reason\": \"Our audiences don't overlap enough.\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.beehiiv.com/v2/publications/pub_00000000-0000-0000-0000-000000000000/paid_recommendations/applications/rec_agr_00000000-0000-0000-0000-000000000000/reject")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"rejected_reason\": \"Our audiences don't overlap enough.\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.beehiiv.com/v2/publications/pub_00000000-0000-0000-0000-000000000000/paid_recommendations/applications/rec_agr_00000000-0000-0000-0000-000000000000/reject")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"rejected_reason\": \"Our audiences don't overlap enough.\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.beehiiv.com/v2/publications/pub_00000000-0000-0000-0000-000000000000/paid_recommendations/applications/rec_agr_00000000-0000-0000-0000-000000000000/reject', [
  'body' => '{
  "rejected_reason": "Our audiences don\'t overlap enough."
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.beehiiv.com/v2/publications/pub_00000000-0000-0000-0000-000000000000/paid_recommendations/applications/rec_agr_00000000-0000-0000-0000-000000000000/reject");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"rejected_reason\": \"Our audiences don't overlap enough.\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["rejected_reason": "Our audiences don't overlap enough."] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.beehiiv.com/v2/publications/pub_00000000-0000-0000-0000-000000000000/paid_recommendations/applications/rec_agr_00000000-0000-0000-0000-000000000000/reject")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```