API 레퍼런스DM
DM 대화 읽기
DM 대화 하나와 그 메시지를 읽습니다.
curl -X GET "https://example.com/api/v1/conversations/22222222-2222-4222-8222-222222222222?platform=instagram&cursor=eyJ0aW1lc3RhbXAiOiIyMDI2In0"{ "conversation": { "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:20:00.654321+00:00", "lastMessagePreview": "Yes, we ship to Busan.", "lastReceivedAt": "2026-11-30T09:15:00.123456+00:00", "status": "replied", "canReply": true, "replyBlockedReason": null, "replyWindowEndsAt": "2026-12-01T09:15:00.123Z" }, "messages": [ { "messageId": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAElEOjE3ODQxNDAw", "direction": "received", "text": "Do you ship to Busan?", "attachments": [], "sentAt": "2026-11-30T09:15:00.123456+00:00" }, { "messageId": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAElEOjE3ODQxNDAx", "direction": "sent", "text": "Yes, we ship to Busan.", "attachments": [], "sentAt": "2026-11-30T09:20:00.654321+00:00" } ], "hasMore": false, "nextCursor": null}DM 대화 하나와 그 메시지를 읽습니다. 대화 목록의 conversationId와 platform을 보내세요. 첫 페이지에는 가장 최근 메시지를 최대 50개, 오래된 것부터 줍니다. hasMore가 true이면 nextCursor를 cursor로 보내 더 오래된 메시지를 읽으세요. direction은 상대가 보낸 메시지면 received, 계정이 보낸 메시지면 sent입니다. 첨부 주소는 플랫폼의 주소라 시간이 지나면 열리지 않을 수 있습니다. 인박스처럼 Posteady에서 메시지를 쓸 수 없는 Facebook 페이지의 대화는 돌려주지 않습니다. 페이지를 다시 연결해야 하면 409, 연결한 사람의 페이지 역할로 메시지를 관리할 수 없으면 403입니다.
인증
apiKey 인증Bearer <token>
위치: header
경로 매개변수
conversationId*string
대화 목록에 있는 conversationId입니다.
형식
uuid쿼리 매개변수
platform*string
대화 목록에 있는 그 대화의 platform입니다.
허용값
- "instagram"
- "facebook"
cursor?string
이 대화의 이전 응답에 있던 nextCursor입니다.
길이
length <= 512응답 본문
application/json
application/json
application/json
application/json
application/json