> 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.

# Create a paid recommendations offer <Badge intent="info" minimal outlined>OAuth Scope: posts:write</Badge>

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

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

Create an offer the publication pays to be recommended through. Going live makes it the publication's only live offer: a previous live offer keeps its partners but stops taking new applications, and its pending applications are rejected.

Reference: https://developers.beehiiv.com/api-reference/paid-recommendations-offers/create

## 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

### Body (application/json)

This endpoint expects an object.

- `name` (string, required) — The name of the offer.
- `cost_per_subscriber_cents` (integer, required) — The amount in cents paid for each verified subscriber. The minimum is 50.
- `description` (string, optional) — The description shown to publications that might recommend you.
- `budget_cents` (integer, optional) — The most the offer can spend in cents.
- `eligible_countries` (list of string, optional) — ISO 3166-1 alpha-2 country codes of the subscribers the offer pays for. Leave empty for every country.
- `verification_mode` (enum, optional) — How subscribers are verified before the offer pays for them. Defaults to `standard`.
  - Allowed values: `standard`, `relaxed`
- `status` (enum, optional) — The status to create the offer in. Defaults to `draft`.
  - Allowed values: `draft`, `live`

## Response

### 201

Created

- `data` (PaidRecommendationsOffer, 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

### PaidRecommendationsOffer

- `id` (string, required) — The prefixed ID of the offer.
- `name` (string, required) — The name of the offer.
- `status` (enum, required) — The status of the offer.
  - Allowed values: `draft`, `live`, `inactive`, `archived`
- `cost_per_subscriber_cents` (integer, required) — The amount in cents paid for each verified subscriber. It can't be changed once the offer has gone live.
- `budget_cents` (integer, required) — The most the offer can spend in cents.
- `eligible_countries` (list of string, required) — ISO 3166-1 alpha-2 country codes of the subscribers the offer pays for. Empty means every country.
- `verification_mode` (enum, required) — How subscribers are verified before the offer pays for them.
  - Allowed values: `standard`, `relaxed`
- `over_budget` (boolean, required) — Whether the wallet balance is too low to pay for the next subscriber.
- `created_at` (integer, required) — The time the offer was created, measured in seconds since the Unix epoch.
- `updated_at` (integer, required) — The time the offer was last updated, measured in seconds since the Unix epoch.
- `description` (string, optional) — The description shown to publications that might recommend you.

### ErrorDetail

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

## Examples

**Request**

```json
{
  "name": "Weekly growth offer",
  "cost_per_subscriber_cents": 250,
  "description": "Readers who like practical marketing tips.",
  "budget_cents": 100000,
  "eligible_countries": [
    "US",
    "CA"
  ],
  "verification_mode": "standard",
  "status": "live"
}
```

**Response**

```json
{
  "data": {
    "id": "rec_offer_00000000-0000-0000-0000-000000000000",
    "name": "Weekly growth offer",
    "status": "live",
    "cost_per_subscriber_cents": 250,
    "budget_cents": 100000,
    "eligible_countries": [
      "US",
      "CA"
    ],
    "verification_mode": "standard",
    "over_budget": false,
    "created_at": 1760280000,
    "updated_at": 1760280000,
    "description": "Readers who like practical marketing tips."
  }
}
```

**SDK Code**

```python
import requests

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

payload = {
    "name": "Weekly growth offer",
    "cost_per_subscriber_cents": 250,
    "description": "Readers who like practical marketing tips.",
    "budget_cents": 100000,
    "eligible_countries": ["US", "CA"],
    "verification_mode": "standard",
    "status": "live"
}
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/offers';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"name":"Weekly growth offer","cost_per_subscriber_cents":250,"description":"Readers who like practical marketing tips.","budget_cents":100000,"eligible_countries":["US","CA"],"verification_mode":"standard","status":"live"}'
};

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/offers"

	payload := strings.NewReader("{\n  \"name\": \"Weekly growth offer\",\n  \"cost_per_subscriber_cents\": 250,\n  \"description\": \"Readers who like practical marketing tips.\",\n  \"budget_cents\": 100000,\n  \"eligible_countries\": [\n    \"US\",\n    \"CA\"\n  ],\n  \"verification_mode\": \"standard\",\n  \"status\": \"live\"\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/offers")

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  \"name\": \"Weekly growth offer\",\n  \"cost_per_subscriber_cents\": 250,\n  \"description\": \"Readers who like practical marketing tips.\",\n  \"budget_cents\": 100000,\n  \"eligible_countries\": [\n    \"US\",\n    \"CA\"\n  ],\n  \"verification_mode\": \"standard\",\n  \"status\": \"live\"\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/offers")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"name\": \"Weekly growth offer\",\n  \"cost_per_subscriber_cents\": 250,\n  \"description\": \"Readers who like practical marketing tips.\",\n  \"budget_cents\": 100000,\n  \"eligible_countries\": [\n    \"US\",\n    \"CA\"\n  ],\n  \"verification_mode\": \"standard\",\n  \"status\": \"live\"\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/offers', [
  'body' => '{
  "name": "Weekly growth offer",
  "cost_per_subscriber_cents": 250,
  "description": "Readers who like practical marketing tips.",
  "budget_cents": 100000,
  "eligible_countries": [
    "US",
    "CA"
  ],
  "verification_mode": "standard",
  "status": "live"
}',
  '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/offers");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"name\": \"Weekly growth offer\",\n  \"cost_per_subscriber_cents\": 250,\n  \"description\": \"Readers who like practical marketing tips.\",\n  \"budget_cents\": 100000,\n  \"eligible_countries\": [\n    \"US\",\n    \"CA\"\n  ],\n  \"verification_mode\": \"standard\",\n  \"status\": \"live\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "name": "Weekly growth offer",
  "cost_per_subscriber_cents": 250,
  "description": "Readers who like practical marketing tips.",
  "budget_cents": 100000,
  "eligible_countries": ["US", "CA"],
  "verification_mode": "standard",
  "status": "live"
] 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/offers")! 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()
```