PR
Press Anchor

API Documentation

Integrate press release distribution into your applications

Secure AuthenticationRESTful APIAPI Key Access
Getting Started
Learn how to integrate with our press release distribution API

Base URL

https://api.pressrelease.com

Prerequisites

  • Active Press Anchor account
  • API key from your dashboard
  • Basic understanding of REST APIs
Authentication
All API requests require authentication using Bearer tokens

Authorization Header

Authorization: Bearer YOUR_API_KEY

Important: Keep your API key secure and never expose it in client-side code.

API Endpoints
Complete list of available endpoints for press release management
POST/api/press-releases

Create a new press release

Auth: Bearer Token

GET/api/press-releases

List all press releases

Auth: Bearer Token

GET/api/press-releases/{id}

Get a specific press release

Auth: Bearer Token

PUT/api/press-releases/{id}

Update a press release

Auth: Bearer Token

DELETE/api/press-releases/{id}

Delete a press release

Auth: Bearer Token

POST/api/press-releases/{id}/distribute

Distribute a press release

Auth: Bearer Token

Code Examples
Sample code in different programming languages
// Create a new press release
const response = await fetch('/api/press-releases', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    title: 'Company Announces New Product Launch',
    content: 'Press release content here...',
    category: 'product-launch',
    targetOutlets: ['financial', 'tech']
  })
});

const pressRelease = await response.json();
Rate Limits
API usage limits and best practices

Standard Plan

100 requests per hour

Pro Plan

1,000 requests per hour

Rate Limit Headers

  • X-RateLimit-Limit: Request limit per hour
  • X-RateLimit-Remaining: Remaining requests
  • X-RateLimit-Reset: Time when limit resets
Error Handling
Common error codes and how to handle them
400Bad Request

Invalid request parameters or missing required fields

401Unauthorized

Invalid or missing API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Server error, please try again later

Need Help?
Get support for API integration