๐Ÿ”ด Error Logs โ†’

SocialAgent API

80 endpoints ยท RESTful JSON API ยท Case-insensitive routing

Base URL
/api/<controller>/<action>
Auth
?user_api_key=YOUR_KEY
Response
{ "status": true, "data": {...} }
๐Ÿ‘ค

User

3

User registration, login, and profile management.

GET/api/user/getGet user by wallet addressapi_keyโ–ผ
POST/api/user/createRegister a new userapi_keyโ–ผ
POST/api/user/updateUpdate user profileuser_api_keyโ–ผ
๐ŸŒ

Domain

4

Manage domains (assets) linked to user accounts.

GET/api/domain/getGet domain by nameuser_api_keyโ–ผ
POST/api/domain/createAdd a new domainuser_api_keyโ–ผ
GET/api/domain/getAllList all domains for useruser_api_keyโ–ผ
GET/api/domain/getStatsGet domain statisticsuser_api_keyโ–ผ
๐Ÿ“ข

Campaigns

5

Create and manage content campaigns.

POST/api/campaigns/createCreate a new campaignuser_api_keyโ–ผ
GET/api/campaigns/getAllList all campaignsuser_api_keyโ–ผ
GET/api/campaigns/getGet a single campaignuser_api_keyโ–ผ
POST/api/campaigns/deleteDelete a campaign and its contentsuser_api_keyโ–ผ
GET/api/campaigns/getStatsGet campaign statistics for useruser_api_keyโ–ผ
๐Ÿ“

Content

5

Manage individual content pieces by job.

GET/api/content/getGet content by IDuser_api_keyโ–ผ
GET/api/content/getByJobGet all content for a jobuser_api_keyโ–ผ
GET/api/content/getAllGet all content for a domainuser_api_keyโ–ผ
POST/api/content/updateUpdate contentuser_api_keyโ–ผ
POST/api/content/deleteDelete contentuser_api_keyโ–ผ
๐Ÿ“„

Contents

6

Manage content by campaign with scheduling.

GET/api/contents/getGet content by IDuser_api_keyโ–ผ
GET/api/contents/getByCampaignGet content for a campaignuser_api_keyโ–ผ
GET/api/contents/getAllList all content for a domainuser_api_keyโ–ผ
POST/api/contents/updateUpdate content fieldsuser_api_keyโ–ผ
POST/api/contents/deleteDelete contentuser_api_keyโ–ผ
POST/api/contents/scheduleSchedule content for postinguser_api_keyโ–ผ
โš™๏ธ

Jobs

4

Manage content generation jobs.

POST/api/jobs/createCreate a content jobuser_api_keyโ–ผ
GET/api/jobs/getAllList jobs for a domainuser_api_keyโ–ผ
GET/api/jobs/getGet a single jobuser_api_keyโ–ผ
POST/api/jobs/deleteDelete a job (cascading)user_api_keyโ–ผ
๐Ÿ“Š

Dashboard

2

User and admin dashboard statistics.

GET/api/dashboard/getStatsGet user dashboard statsuser_api_keyโ–ผ
GET/api/dashboard/statsAllGet system-wide stats (master key only)master_keyโ–ผ
๐Ÿ“‹

Activities

1

Activity log for user actions.

GET/api/activities/getAllGet activity loguser_api_keyโ–ผ
๐Ÿ”—

Platform

5

Connect social media platforms to domains.

POST/api/platform/createConnect a platformuser_api_keyโ–ผ
GET/api/platform/getGet platform credentialsuser_api_keyโ–ผ
GET/api/platform/getAllList all platforms for a domainuser_api_keyโ–ผ
GET/api/platform/getavailableList connected platform typesuser_api_keyโ–ผ
POST/api/platform/deleteRemove a platformuser_api_keyโ–ผ
๐Ÿ“…

Schedule

3

Schedule content and manage Medium integration.

POST/api/schedule/createSchedule content for postinguser_api_keyโ–ผ
GET/api/schedule/getMediumGet Medium API key for domainuser_api_keyโ–ผ
POST/api/schedule/updateMediumSet Medium API key for domainuser_api_keyโ–ผ
โšก

Settings

3

Medium integration settings and validation.

GET/api/settings/getMediumGet Medium key for domainuser_api_keyโ–ผ
POST/api/settings/updateMediumUpdate Medium API keyuser_api_keyโ–ผ
POST/api/settings/validatemediumValidate a Medium API keyuser_api_keyโ–ผ
๐Ÿ’ณ

Payment

3

Process payments and view transaction history.

POST/api/payment/createRecord a paymentuser_api_keyโ–ผ
GET/api/payment/getByUserGet payment historyuser_api_keyโ–ผ
GET/api/payment/getRenewalsGet domains pending renewaluser_api_keyโ–ผ
๐Ÿ”ฅ

Fresh Topics

3

Manage trending topic suggestions for domains.

POST/api/freshtopics/createAdd a fresh topicuser_api_keyโ–ผ
GET/api/freshtopics/getAllList topics for a domainuser_api_keyโ–ผ
POST/api/freshtopics/deleteAllDelete all topics for a domainuser_api_keyโ–ผ
๐ŸŽจ

Tones

1

List available content tones.

GET/api/tones/getAllGet all available tonesuser_api_keyโ–ผ
๐Ÿท๏ธ

Asset Settings

3

Brand settings, descriptions, and AI-generated metadata for domains.

GET/api/assetsettings/generateAI-generate brand settingsuser_api_keyโ–ผ
POST/api/assetsettings/createSave brand settingsuser_api_keyโ–ผ
GET/api/assetsettings/getGet brand settingsuser_api_keyโ–ผ
๐ŸŒ

Subdomain

2

Manage blog subdomains via Vercel.

POST/api/subdomain/createCreate/update a subdomainuser_api_keyโ–ผ
GET/api/subdomain/getGet subdomain configuser_api_keyโ–ผ
๐Ÿ’ผ

LinkedIn

5

LinkedIn OAuth flow and posting.

GET/api/linkedin/indexGet LinkedIn auth infopublicโ–ผ
GET/api/linkedin/authStart LinkedIn OAuth (redirects)publicโ–ผ
GET/api/linkedin/callbackLinkedIn OAuth callbackpublicโ–ผ
GET/api/linkedin/successLinkedIn OAuth success pagepublicโ–ผ
POST/api/linkedin/createPostCreate a LinkedIn postpublicโ–ผ
๐Ÿ 

Site

9

Core site endpoints: index, error handling, contact, login/logout, and utilities.

GET/api/site/indexAPI info and health checkpublicโ–ผ
GET/api/site/errorError handler endpointpublic
GET/api/site/contactContact form infopublic
POST/api/site/contactSubmit contact formpublicโ–ผ
GET/api/site/loginLogin endpoint infopublic
POST/api/site/loginAuthenticate userpublicโ–ผ
GET/api/site/logoutLogout current sessionpublic
GET/api/site/twitterTwitter test endpointpublic
GET/api/site/updateapiSync user API keys with ContentAgentpublic
๐Ÿ•

Cron

11

Background cron jobs for automated processing.

GET/api/cron/updateExpiryUpdate domain expiry statuspublic
GET/api/cron/updateStatusSync campaign statusespublic
GET/api/cron/updateContentsPull completed job deliverablespublic
GET/api/cron/updateImagesReplace placeholder imagespublic
GET/api/cron/postmediumPost scheduled content to Mediumpublic
GET/api/cron/posttwitterPost scheduled content to Twitterpublic
GET/api/cron/autoCreateAuto-create content jobspublic
GET/api/cron/autoContentProcess autonomous contentpublic
GET/api/cron/resetCampaignsReset old completed campaignspublic
GET/api/cron/testmediumTest Medium API connectivitypublic
GET/api/cron/postlinkedinPost scheduled content to LinkedInpublic
๐Ÿ”ด

Logs

2

View and manage API error and request logs. All endpoints require the master API key.

GET/api/logsView error or request logs (newest first)master_keyโ–ผ
DELETE/api/logsClear all logs of a given typemaster_keyโ–ผ