App Logo
instagram.com

Get Instagram DM inbox

List the state of every DM conversation in your Instagram inbox. count=0 fetches every page. Returns count, unseen_count, and threads (thread_id, title, users, is_group, unread, last_activity_at, last_activity (ISO), last_message). Each last_message has sent_by_me (you vs them), date (ISO), type, and text. thread_id is the join key for reading a conversation's messages.

Input

count optional

Max conversations to fetch; 0 = every page Instagram serves.

Default: 20

Output

count required
threads required
unseen_count optional

Start building not clicking