Public API
REST API Reference for social media posting
Public API Reference
The ReplyNodes Public API provides a comprehensive RESTful interface for automating social media workflows, managing integrations, and scheduling posts across 28+ channels.
Base URL
All API requests should be made to:
https://api.replynodes.com/public/v1Authentication
The API supports two authentication methods:
API Key Authentication
Include your API key in the Authorization header:
curl -H "Authorization: YOUR_API_KEY" \
https://api.replynodes.com/public/v1/postsYou can rotate your API key through Settings → Public API → Access in the ReplyNodes dashboard.
OAuth App Authentication
OAuth app tokens are prefixed with pos_ and work identically to API keys:
curl -H "Authorization: pos_your_oauth_token" \
https://api.replynodes.com/public/v1/postsLearn more about OAuth apps in the OAuth Applications guide.
Core Endpoints
Posts
GET /posts- List posts with filteringPOST /posts- Create a new postGET /posts/:id- Retrieve a specific postDELETE /posts/:id- Delete a postDELETE /posts/group/:group- Delete all posts in a groupPUT /posts/:id/status- Change post status (draft, scheduled, published)PUT /posts/:id/release-id- Update post release IDGET /posts/:id/missing- Get missing content requirements
Integrations
GET /integrations- List connected integrationsGET /integrations?group=:groupId- Filter integrations by groupDELETE /integrations/:id- Disconnect an integrationGET /integration-settings/:id- Get validation rules and max length
Media & Files
POST /upload- Upload media file (form-data)POST /upload-from-url- Upload media from URL
Supported formats: JPEG, PNG, GIF, WebP, AVIF, BMP, TIFF, MP4
Social Connections
GET /social/:integration- Generate authentication URL for integrationGET /is-connected- Check API connectivity
Groups & Organization
GET /groups- List all integration groups (channels)
Analytics
GET /analytics/:integration- Get analytics for an integrationGET /analytics/post/:postId- Get post-specific analytics
Notifications
GET /notifications- List notifications with pagination
Media Generation
POST /generate-video- Generate AI videoPOST /video/function- Call video functions
Utilities
GET /find-slot/:id- Find optimal posting time for an integrationPOST /integration-trigger/:id- Execute integration-specific tools
Response Format
All responses are JSON. Successful requests return a 200 status with the requested data:
{
"posts": [
{
"id": "post-123",
"content": "Hello world!",
"status": "scheduled",
"createdAt": "2024-01-01T00:00:00Z"
}
]
}Error Handling
Errors include an appropriate HTTP status code and error message:
{
"msg": "Post not found"
}Common status codes:
400- Bad Request (invalid parameters)401- Unauthorized (invalid API key)404- Not Found (resource doesn't exist)500- Server Error
Rate Limiting
The API is rate-limited based on your plan. Include the X-RateLimit-Remaining header in responses to track your quota.
Quick Start
1. Get Your API Key
- Sign in to ReplyNodes
- Go to Settings → Public API → Access
- Copy your API key
2. Create a Post
curl -X POST https://api.replynodes.com/public/v1/posts \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"posts": [
{
"value": [
{
"text": "Hello ReplyNodes!"
}
],
"integrations": ["twitter", "linkedin"]
}
]
}'3. List Posts
curl https://api.replynodes.com/public/v1/posts \
-H "Authorization: YOUR_API_KEY"Next Steps
- OAuth Applications - Build apps that act on behalf of users
- Node.js SDK - Use the official SDK
- CLI Tool - Command-line interface