API 레퍼런스DM
DM 대화 조회
Instagram·Facebook DM 대화를 인박스 상태와 필터로 확인합니다.
curl -X GET "https://example.com/api/v1/conversations?platform=instagram&accountId=11111111-1111-4111-8111-111111111111&status=unanswered&cursor=eyJ2IjoxfQ"{ "conversations": [ { "conversationId": "22222222-2222-4222-8222-222222222222", "platform": "instagram", "accountId": "11111111-1111-4111-8111-111111111111", "accountName": "Your Brand", "participant": { "username": "happy_customer", "name": null }, "lastMessageAt": "2026-11-30T09:15:00.123456+00:00", "lastMessagePreview": "Do you ship to Busan?", "lastReceivedAt": "2026-11-30T09:15:00.123456+00:00", "status": "unanswered", "canReply": true, "replyBlockedReason": null, "replyWindowEndsAt": "2026-12-01T09:15:00.123Z" } ], "unansweredCount": 1, "hasMore": false, "nextCursor": null}API 키의 워크스페이스에 온 Instagram·Facebook DM 대화를 최신순으로 조회합니다. Posteady 메시지 인박스와 같은 대화입니다. 이 요청은 Posteady가 이미 받은 대화를 읽으며 플랫폼을 새로 고치지 않습니다. 인박스처럼 Posteady에서 메시지를 쓸 수 없는 Facebook 페이지(페이지를 다시 연결해야 하거나, 연결한 사람의 페이지 역할로 메시지를 관리할 수 없는 경우)의 대화는 싣지 않고, note에 그 페이지를 적습니다. status는 unanswered(마지막 메시지가 상대 것), replied(마지막 메시지가 계정 것), resolved(답장 없이 처리 완료로 표시)입니다. 답장하기 전에 canReply를 확인하세요. Instagram·Facebook은 상대의 마지막 메시지 뒤 24시간 안에만 답장을 받습니다(replyWindowEndsAt). status는 한 페이지를 읽은 뒤 거르므로, hasMore가 true여도 페이지의 대화가 적거나 없을 수 있습니다. hasMore가 true이면 nextCursor를 같은 필터와 함께 cursor로 보내세요.
인증
apiKey 인증Bearer <token>
위치: header
쿼리 매개변수
platform?string
허용값
- "instagram"
- "facebook"
accountId?string
이 Instagram·Facebook 계정의 대화만 읽습니다.
형식
uuidstatus?string
기본값
"all"허용값
- "all"
- "unanswered"
- "replied"
- "resolved"
cursor?string
이전 응답의 nextCursor입니다. 같은 필터와 함께 보내세요.
길이
length <= 1024응답 본문
application/json
application/json