Skip to main content

Add Source

POST
/v1/sources/{newsfeed_id}
Add a blog, X/Twitter profile, Instagram profile, TikTok profile, or Reddit subreddit as a source.

Path parameters

ParameterTypeDescription
newsfeed_idstring (UUID)Newsfeed ID

Request body

FieldTypeRequiredDescription
urlstringYesSource URL
Supported URL formats:
  • Blogs: Any website URL (RSS auto-discovered)
  • X/Twitter: https://x.com/username
  • Instagram: https://instagram.com/username
  • TikTok: https://tiktok.com/@username
  • Reddit: https://reddit.com/r/subreddit
curl -X POST https://twixb.com/api/v1/sources/f296206d-... \
  -H "X-API-Key: twxb_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://openai.com/blog"}'

Response

Returns the created source object. See List Sources for the full response schema.
Use Validate Source first to check if a URL is crawlable and see discovered RSS feeds.