Public APISocialRails Public API Overview

SocialRails Public API Overview

Introduction to the SocialRails Public API. Learn what the API offers and how to get started in three simple steps.

The SocialRails Public API lets you integrate your social media management workflows with external tools, automate content scheduling, and build custom integrations on top of SocialRails.

What You Can Do

  • List and create posts, Query your scheduled and published posts, or create new ones programmatically.
  • View analytics, Pull engagement data across platforms and time periods.
  • List connected accounts, See which social media accounts are linked to your workspace.
  • Generate AI content, Use our AI engine to generate captions, posts, and social media copy.
  • Workspace info, Retrieve your workspace details and current plan limits.

Getting Started in 3 Steps

1. Get an API Key

Go to Settings > API in your SocialRails dashboard. Click Create Key, give it a name, and select the scopes you need (read, write, ai). Copy your key immediately, it's only shown once.

2. Make Your First Request

curl -H "Authorization: Bearer sr_live_your_key_here" \
  https://socialrails.com/api/v1/workspace

3. Build Your Integration

Use any HTTP client in any language. The API returns JSON responses and uses standard REST conventions.

Base URL

All API requests use the base URL:

https://socialrails.com/api/v1/

Available Plans

PlanRequests/HourMax Keys
Creator ($29/mo)602
Business ($49/mo)3005
Agency ($99/mo)1,00010

API access is available on Creator plans and above.

Developer Resources

Next Steps

Frequently Asked Questions

Is the SocialRails API free to use?
API access is included with all paid SocialRails plans (Creator, Business, and Agency). There is no separate charge for API usage, but rate limits and key limits vary by plan.
What programming languages can I use with the API?
Any language that can make HTTP requests works with the SocialRails API. It's a standard REST API that returns JSON. Common choices include JavaScript, Python, PHP, Ruby, and Go.
Do I need a separate API key for each integration?
No, but it's recommended. Using separate keys per integration makes it easier to revoke access if one key is compromised without affecting your other integrations.
Can I use the API to post to platforms I haven't connected yet?
No. You need to connect your social media accounts through the SocialRails dashboard first. The API can then schedule posts to those connected accounts.