REST API
계정 연결
소셜 계정을 연결하고 상태를 확인합니다.
GET
/v1/connect/{platform}OAuth 인증 URL 을 받습니다. 사용자를 이 주소로 보내면 연결이 시작됩니다.
경로 파라미터
| 이름 | 타입 | 설명 |
|---|---|---|
platform필수 | string | threads · instagram · youtube · facebook 중 하나 |
요청
curl https://api.uplika.io/v1/connect/threads \
-H "Authorization: Bearer $UPLIKA_API_KEY"
# 응답
{ "authUrl": "https://threads.net/oauth/authorize?..." }GET
/v1/accounts연결된 계정 목록과 토큰 만료 시각을 돌려줍니다.
응답 예시
{
"data": [
{
"id": "conn_7f2a91c4",
"platform": "threads",
"handle": "uplika_official",
"status": "active",
"tokenExpiresAt": "2026-09-22T09:00:00.000Z"
}
]
}DELETE
/v1/accounts/{id}연결을 해제합니다. 계정 슬롯이 다시 비워집니다.