Instagram API methods reference#
Beta version
The functionality is in beta. Features may change and may also work unstably.
GREEN-API presents the HTTP API Instagram for working with chats, posts and comments.
Make sure you have completed all the steps in the Before you start section before executing requests. Check out the Execute requests section.
Account#
- Authorize an instance with login and password
- Send authorization code
- Logout instance
- Get instance state
- Get history of instance state
- Reboot instance
- Get instance settings
- Set instance settings
- Set profile picture
- Get Instagram account information
Sending#
Receiving#
Receiving notifications via HTTP API#
Receiving notifications via Webhook Endpoint#
Incoming notifications format#
Incoming message#
- Incoming text message
- Incoming image message
- Incoming video message
- Incoming voice message
- Incoming sticker message
- Incoming share message
- Incoming contact message
- Incoming location message
- Incoming poll message
- Incoming poll update message
- Incoming edited message
- Incoming deleted message
- Incoming reaction message
Outgoing message#
- Message sent from the app
- Outgoing message via API
- Outgoing text message
- Outgoing image message
- Outgoing video message
- Outgoing voice message
- Outgoing sticker message
- Outgoing share message
- Outgoing contact message
- Outgoing location message
- Outgoing poll message
- Outgoing poll update message
- Outgoing edited message
- Outgoing deleted message
- Outgoing reaction message
Posts#
Comments#
Statuses#
- Outgoing message status
- Incoming message read status
- Post status
- Post edit status
- Post deletion status
- Comment status
- Comment edit status
- Comment deletion status
- Comment like status
Service notifications#
Objects#
Get files#
Journals#
Queues#
- Get messages count to send
- Show messages queue to send
- Clear messages queue to send
- Get webhooks count in the incoming queue
- Clear incoming Webhooks queue
Groups#
- Create group
- Change group name
- Get group data
- Update group settings
- Add group participant
- Delete group participant
- Set group admin rights
- Remove group admin rights
- Leave group
Posts#
Posts and carousels#
Reels#
Getting posts#
Comments#
Read mark#
Service methods#
- Check Instagram account availability
- Get avatar
- Get contacts
- Get contact info
- Get chats
- Delete message
- Edit message
- Send typing notification
- Get the list of available reactions
- Send a reaction to a chat message