게시 시간:"postingTime": "next"를 쓰면 대시보드에서 정한 게시 시간 중 다음 빈 시간에 게시물이 들어가요.
중복 게시 방지:idempotencyKey를 보내세요. 스크립트가 같은 키로 다시 시도하면 첫 게시물이 그대로 돌아오고, 두 번 게시되지 않아요.
결과 페이지:GET /posts는 nextCursor를 돌려줘요. 다음 페이지를 받으려면 이 값을 cursor로 보내세요.
승인: 내 API 키로 만든 게시물은 계획대로 게시돼요. “먼저 여기서 내 승인 받기” 설정은 AI 에이전트에만 적용돼요.
오류
모든 오류는 같은 형태예요. 처리는 code를 기준으로 나누세요. message는 사람이 읽으라고 쓴 글이라 바뀔 수 있어요.
{
"error": {
"code": "too_long",
"message": "Part 1 is 312 characters on X; the limit is 280.",
"details": { }
}
}
자주 나오는 코드:
invalid_api_key (401): 키가 틀렸거나 삭제됐어요.
invalid_request 또는 too_long (422): 요청이 조건에 맞지 않아요. 무엇을 고쳐야 하는지 메시지에 나와요.
daily_limit, posting_gap 또는 monthly_limit (429): 그 시간에는 요금제 한도에 여유가 없어요. 하루 한도가 찼거나 직전 게시물과 너무 가까우면 details에서 다음 빈 시간을 제안해요.
plan_no_images 등 plan_ 코드 (403): 현재 요금제에 포함되지 않은 기능이에요. 어떤 요금제에 포함되는지 메시지에 나와요.
dashboard_only (403): API 키 만들기처럼 대시보드에서만 할 수 있는 작업이에요.
접수된 게시물도 나중에 한 네트워크에서 실패할 수 있어요. 예를 들어 네트워크가 SocialMCP를 로그아웃시킨 경우예요. 이 내용은 게시물 자체에 표시돼요. targets의 각 항목에는 status가 있고, 실패했다면 reconnect_needed 같은 error가 들어 있어요. GET /posts/<id>로 확인하세요.
한도
API에도 SocialMCP의 다른 기능과 같은 요금제와 한도가 적용돼요. 하루와 한 달 게시물 수, X 링크, 이미지, 그리고 한 계정에서 게시물 사이의 짧은 간격이에요. GET /me로 한도와 사용량을 확인할 수 있어요.
API 키로 호출할 수 있는 모든 엔드포인트를 API에서 직접 생성했어요. 엔드포인트 이름, 필드, 설명은 영어로 되어 있어요.
기본 URL: https://getsocialmcp.com/api/v1
Networks
GET/networks
Networks you can post to
Without an API key: the networks open to everyone on SocialMCP. With a key: the networks you can connect and post to, which can include ones still in testing.
응답
200Networksobject
401Not signed in, or the API key is wrong
Account
GET/me
Who you are, your settings, connected accounts, and your plan with what you’ve used
422Invalid request (e.g. too long for the network)
POST/login-links
Get a link that opens the dashboard already signed in
Single-use, valid 10 minutes. path is where it opens: /app (calendar), /app?post={id} or /app/settings. Approving agent posts, API keys and agents still need an email sign-in.
403This network is not available (network_unavailable)
Posting times
PUT/posting-times
Set when you usually post
Saves posting times on the given accounts (all connected accounts when none are given). An empty list turns them off. Upcoming posts placed in a time that no longer exists move to the first open posting time from the start of their day (moved); posts left with no posting time keep their time (kept).
409Conflicts with the current state (e.g. account not connected)
422Invalid request (e.g. too long for the network)
GET/posting-times/open
Open posting times in a range
Upcoming posting times that have no post yet, each with the accounts it is open on. Up to about two months at a time.
매개변수
fromstring (date-time)(query)필수
tostring (date-time)(query)필수
응답
200Open posting timesobject
401Not signed in, or the API key is wrong
422Invalid request (e.g. too long for the network)
GET/posting-times/next
Where a new post would go
The next open posting time of each account, as POST /posts with postingTime next would use them. Nothing is saved.
매개변수
accountsstring(query)필수
Comma-separated account ids.
unitsinteger(query)
Number of thread parts, on networks that take threads. Default 1.
응답
200Next posting timesobject
401Not signed in, or the API key is wrong
404Not found
409Conflicts with the current state (e.g. account not connected)
Posts
POST/posts
Post now or schedule
Checks length and limits for every network before accepting. Each network’s result appears in targets. With postingTime next, accounts whose next open times differ get a post each: the others are in alsoCreated.
One item per post in a thread, on networks that take threads. Other networks get a single post.
networks("x" | "linkedin")[]
Defaults to your default networks (Settings).
accountsstring[]
Specific account ids, instead of networks.
scheduledAtstring (date-time)
ISO 8601 time. Omit to post now. e.g. 2026-11-21T09:00:00Z
postingTime"next" | string (date-time)
Put the post in your posting times: next for each account’s next open one (accounts whose next times differ get a post each), or one open posting time from GET /posting-times/open. e.g. next
overridesobject
A network’s own version of the post. LinkedIn takes a single part.
idempotencyKeystring
Sending the same key again returns the first post instead of posting twice.
응답
200Already created with this idempotencyKeyPost + object
One item per post in a thread, on networks that take threads. Other networks get a single post.
networks("x" | "linkedin")[]
Defaults to your default networks (Settings).
accountsstring[]
Specific account ids, instead of networks.
scheduledAtstring (date-time)
ISO 8601 time. Omit to post now. e.g. 2026-11-21T09:00:00Z
postingTime"next" | string (date-time)
Put the post in your posting times: next for each account’s next open one (accounts whose next times differ get a post each), or one open posting time from GET /posting-times/open. e.g. next
overridesobject
A network’s own version of the post. LinkedIn takes a single part.
idempotencyKeystring
Sending the same key again returns the first post instead of posting twice.
PostingTime
timestring필수
Time of day, 24-hour, in your timezone. e.g. 09:00