POST
/
feed
curl \
-H "Authorization: Bearer API_KEY" \
-H 'Content-Type: application/json' \
-d '{"url": "https://www.nytimes.com"}' \
-X POST https://api.ayrshare.com/api/feed
{
  "status": "success",
  "id": "4HZhptaD5",
  "title": "Pulte's Money and Life Thoughts",
  "websiteLink": "https://pulte.substack.com",
  "rssURL": "https://pulte.substack.com/feed"
}
Available on Premium, Business, Enterprise plans.

Add a new RSS feed for automated posting of new articles. Posts will be automatically sent to your linked social accounts: Facebook, Twitter, LinkedIn, and Telegram. Also Instagram and Pinterest if a valid image can be found in the article.

Header Parameters

Authorization
string
required
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY
Profile-Key
string
Profile Key of a User Profile.

Format: Profile-Key: PROFILE_KEY

Body Parameters

url
string
required

URL of the RSS feed to add.

useFirstImage
boolean
default:false

Attempt to get the first or top image in the article and add it to the post.

autoHashtag
boolean
default:false

Automatically add up to 3 hashtags to the post text based on the most relevant keywords.

type
string
default:"rss"

Value: rss, substack, or youtube.

platforms
array

Social network platforms to publish the article. If not provided, defaults to all connected platforms. Available platforms:

{
  "platforms": ["facebook", "instagram", 
    "linkedin", "pinterest", "twitter"]
}
curl \
-H "Authorization: Bearer API_KEY" \
-H 'Content-Type: application/json' \
-d '{"url": "https://www.nytimes.com"}' \
-X POST https://api.ayrshare.com/api/feed
{
  "status": "success",
  "id": "4HZhptaD5",
  "title": "Pulte's Money and Life Thoughts",
  "websiteLink": "https://pulte.substack.com",
  "rssURL": "https://pulte.substack.com/feed"
}