Authentication

How to authenticate with the Presscart API using bearer tokens, including token types and scopes.

The Presscart API lets you programmatically browse the media outlet marketplace, place orders for media placements, and manage PR campaigns — all through server-to-server API token authentication.

Base URL

https://api.presscart.com

Bearer header

Include your token in the Authorization header of every request:

Authorization: Bearer pc_xxxx_xxxxxxx_xxxxxxxx_xxxxxxxx

Token format

  • Tokens are prefixed with pc_
  • The raw token is only shown when the token is created or regenerated
  • Tokens are stored hashed on the server side

Token types

TypeDescription
full_accessBypasses scope checks for all API-token routes
customCan only access the explicit scopes attached to the token
read_onlyCan read and list resources for its scopes but cannot perform write actions

Scopes

Scopes control which endpoints your token can access. Assign only the scopes your integration needs.

ScopeRoutes
outlets.listsGET /outlets
outlets.readGET /outlets/\{outlet_id\}
products.readGET /products/\{product_id\}, GET /products/listings
orders.listsGET /orders, GET /order-items, GET /profiles/\{profile_id\}/orders, GET /profiles/\{profile_id\}/order-items
orders.readGET /orders/\{order_id\}
orders.createPOST /orders/checkout
profiles.createPOST /profiles
profiles.updatePATCH /profiles/\{profile_id\}
profiles.listsGET /teams/\{team_id\}/profiles
campaigns.listsGET /campaigns, GET /profiles/\{profile_id\}/campaigns
campaigns.readGET /campaigns/\{campaign_id\}, GET /campaigns/\{campaign_id\}/articles, GET /campaigns/\{campaign_id\}/articles/status-count
campaigns.createPOST /campaigns
campaigns.updatePUT /campaigns/\{campaign_id\}, POST /campaigns/\{campaign_id\}/order-items, POST /questionnaires/\{campaign_id\}/link

Verify your token

Confirm your token is valid and inspect your session:

curl "https://api.presscart.com/auth/token" \
  -H "Authorization: Bearer $PRESSCART_API_TOKEN"

Response:

{
  "source": "api_token",
  "team_id": "11111111-1111-1111-1111-111111111111",
  "token_type": "custom",
  "scopes": ["products.read", "orders.create", "campaigns.update"],
  "pro_pricing_enabled": true
}

On this page