Inboxes
Connect channels and choose where conversations enter your Flownally workspace. 13 endpoints in this resource.
List inboxes
https://api.flownally.com/v1/inboxesReturns every inbox in the workspace, oldest first. An inbox is one connected channel
account, such as a WhatsApp number or a Facebook Page. Pass an inbox id as inboxId
to choose the sender when you send a message.
Authorization
- inbox:list
- owner
- admin
- agent
List inboxes in the workspace.
Responses
- 200List of inboxesapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/inboxes" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"inboxes": [
{
"id": "ibx_d7pi2efp0k7nba4e1mt0",
"createdAt": "2026-04-30T09:00:00Z",
"updatedAt": "2026-04-30T09:10:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"channel": "whatsapp",
"externalId": "112233445566778",
"createdBy": "usr_d7phosq4g7mv2l5b9l40",
"name": "+48 123 456 789",
"teamId": "tem_d7pi77577990sq67vgqg",
"status": {
"state": "degraded",
"reasons": [
"payment_issue"
]
},
"config": {
"number": "+48123456789",
"wabaId": "102030405060708",
"verifiedName": "Support",
"qualityRating": "GREEN"
}
}
]
}Connect inboxes
https://api.flownally.com/v1/inboxesConnects Facebook Pages, Instagram accounts, Twilio phone numbers or a LiveChat organization, and returns an inbox for each account connected. Send one channel per request.
- Messenger and Instagram: Flownally must already have Meta access to each Page or account. One that can't be connected is skipped, and the request fails only when none can be. A Page or account already connected in this workspace returns its existing inbox.
- Twilio: call
POST /twilio/{accountSid}/phone-numbersfirst to get apendingCredentialId. Connecting a number replaces its incoming message webhook and status callback in Twilio.
Authorization
- inbox:create
- owner
- admin
Create an inbox in the workspace.
Body parameters
Send a application/json body. The body is required.
Responses
- 200Inboxes connectedapplication/json
- defaultErrorapplication/json
Related schemas
- Inbox
- InboxStatus
- InboxStatusState
- InboxStatusReason
- InboxStatusIssue
- ProblemDetails
- FieldViolation
- Window
- CreateInboxRequest
- CreateMessengerInboxRequest
- MessengerInboxRequest
- CreateInstagramInboxRequest
- InstagramInboxRequest
- CreateTextIncInboxRequest
- TextIncInboxRequest
- CreateTwilioInboxRequest
- TwilioInboxRequest
- CreateInboxResponse
curl -X POST "https://api.flownally.com/v1/inboxes" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"messenger": {
"resourceIds": [
"string"
]
}
}'{
"inboxes": [
{
"id": "ibx_d7pi2efp0k7nba4e1mt0",
"createdAt": "2026-04-30T09:00:00Z",
"updatedAt": "2026-04-30T09:10:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"channel": "whatsapp",
"externalId": "112233445566778",
"createdBy": "usr_d7phosq4g7mv2l5b9l40",
"name": "+48 123 456 789",
"teamId": "tem_d7pi77577990sq67vgqg",
"status": {
"state": "active",
"reasons": []
},
"config": {
"number": "+48123456789",
"wabaId": "102030405060708",
"verifiedName": "Support",
"qualityRating": "GREEN"
}
}
]
}Delete inbox
https://api.flownally.com/v1/inboxes/{id}Removes an inbox from the workspace so it can no longer receive or send messages. Its forwarding rules are deleted, and rules in other inboxes that forward to it stop forwarding.
Open as its own pageAuthorization
- inbox:delete
- owner
- admin
Delete an inbox in the workspace.
Parameters
- Name
id- Type
- path · string
- required
Inbox ID.
Responses
- 204Inbox deleted
- defaultErrorapplication/json
Related schemas
curl -X DELETE "https://api.flownally.com/v1/inboxes/$INBOX_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"Assign team to inbox
https://api.flownally.com/v1/inboxes/{id}/teamGives new sessions in this inbox's conversations to the team and returns the updated
inbox. Sessions already open keep their team. Returns 404 with code
messaging_inbox_team_not_found when the team doesn't exist in the workspace.
Authorization
- inbox:update
- owner
- admin
Assign a team to an inbox.
Parameters
- Name
id- Type
- path · string
- required
Inbox ID.
Body parameters
Send a application/json body. The body is required.
- Name
teamId- Type
- string
- required
Team ID.
Responses
- 200Updated inboxapplication/json
- defaultErrorapplication/json
Related schemas
curl -X PUT "https://api.flownally.com/v1/inboxes/$INBOX_ID/team" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"teamId": "tem_d7pi77577990sq67vgqg"
}'{
"id": "ibx_d7pi2efp0k7nba4e1mt0",
"createdAt": "2026-04-30T09:00:00Z",
"updatedAt": "2026-04-30T09:10:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"channel": "whatsapp",
"externalId": "112233445566778",
"createdBy": "usr_d7phosq4g7mv2l5b9l40",
"name": "+48 123 456 789",
"teamId": "tem_d7pi77577990sq67vgqg",
"status": {
"state": "active",
"reasons": []
},
"config": {
"number": "+48123456789",
"wabaId": "102030405060708",
"verifiedName": "Support",
"qualityRating": "GREEN"
}
}Remove team from inbox
https://api.flownally.com/v1/inboxes/{id}/teamRemoves the inbox's team and returns the updated inbox. New sessions in this inbox's conversations start without a team. Sessions already open keep theirs.
Open as its own pageAuthorization
- inbox:update
- owner
- admin
Clear team assignment from an inbox.
Parameters
- Name
id- Type
- path · string
- required
Inbox ID.
Responses
- 200Updated inboxapplication/json
- defaultErrorapplication/json
Related schemas
curl -X DELETE "https://api.flownally.com/v1/inboxes/$INBOX_ID/team" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"id": "ibx_d7pi2efp0k7nba4e1mt0",
"createdAt": "2026-04-30T09:00:00Z",
"updatedAt": "2026-04-30T09:10:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"channel": "whatsapp",
"externalId": "112233445566778",
"createdBy": "usr_d7phosq4g7mv2l5b9l40",
"name": "+48 123 456 789",
"teamId": "tem_d7pi77577990sq67vgqg",
"status": {
"state": "active",
"reasons": []
},
"config": {
"number": "+48123456789",
"wabaId": "102030405060708",
"verifiedName": "Support",
"qualityRating": "GREEN"
}
}Get inbox forwarding
https://api.flownally.com/v1/inboxes/{id}/forwardingReturns the rules that forward this inbox's sessions to a desk inbox, where agents in
LiveChat (textinc) or Genesys answer them. rules is empty when the inbox doesn't
forward.
Authorization
- inbox:read
- owner
- admin
- agent
Read an inbox's forwarding rules.
Parameters
- Name
id- Type
- path · string
- required
Inbox ID.
Responses
- 200Forwarding rulesapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/inboxes/$INBOX_ID/forwarding" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"rules": [
{
"teamId": null,
"to": "ibx_d9osd0q9io6g00blmdg0",
"groupId": 128
},
{
"teamId": "tem_d7pi77577990sq67vgqg",
"to": "ibx_d9osd0q9io6g00blmdg0",
"groupId": 5
},
{
"teamId": "tem_d7pi7b577990sq67vh2g"
}
]
}Set inbox forwarding
https://api.flownally.com/v1/inboxes/{id}/forwardingReplaces all forwarding rules of this inbox. A session follows the rule of its team, or
the default rule (no teamId) when its team has none. A rule without to keeps those
sessions in Flownally. Sessions already open keep the rules they started with. An empty
rules list turns forwarding off.Only WhatsApp, Messenger, Instagram and Twilio inboxes can forward.
400with codemessaging_forwarding_invalid_rules: the rules are invalid, for example the inbox is itself a desk inbox, two rules cover the same team or both are default rules,toisn't a desk inbox, orgroupIdis set without a LiveChatto.404with codemessaging_forwarding_inbox_not_found,messaging_forwarding_desk_not_foundormessaging_forwarding_team_not_found: the inbox, thetoinbox or a team doesn't exist in the workspace.
Authorization
- inbox:update
- owner
- admin
Replace an inbox's forwarding rules.
Parameters
- Name
id- Type
- path · string
- required
Inbox ID.
Body parameters
Send a application/json body. The body is required.
- Name
rules- Type
- array<InboxForwardingRule>
- required
Responses
- 200Forwarding rules setapplication/json
- defaultErrorapplication/json
Related schemas
curl -X PUT "https://api.flownally.com/v1/inboxes/$INBOX_ID/forwarding" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"rules": [
{
"teamId": null,
"to": "ibx_d9osd0q9io6g00blmdg0",
"groupId": 128
},
{
"teamId": "tem_d7pi77577990sq67vgqg",
"to": "ibx_d9osd0q9io6g00blmdg0",
"groupId": 5
},
{
"teamId": "tem_d7pi7b577990sq67vh2g"
}
]
}'{
"rules": [
{
"teamId": null,
"to": "ibx_d9osd0q9io6g00blmdg0",
"groupId": 128
},
{
"teamId": "tem_d7pi77577990sq67vgqg",
"to": "ibx_d9osd0q9io6g00blmdg0",
"groupId": 5
},
{
"teamId": "tem_d7pi7b577990sq67vh2g"
}
]
}Turn off inbox forwarding
https://api.flownally.com/v1/inboxes/{id}/forwardingRemoves all forwarding rules of this inbox, so new sessions stay in Flownally. Sessions already open keep the rules they started with.
Open as its own pageAuthorization
- inbox:update
- owner
- admin
Turn off an inbox's forwarding.
Parameters
- Name
id- Type
- path · string
- required
Inbox ID.
Responses
- 204Forwarding turned off
- defaultErrorapplication/json
Related schemas
curl -X DELETE "https://api.flownally.com/v1/inboxes/$INBOX_ID/forwarding" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"List WhatsApp templates
https://api.flownally.com/v1/inboxes/{id}/whatsapp/templatesReturns the message templates of this inbox's WhatsApp Business Account, whatever their
status. Only APPROVED templates can be sent: use their name and language in
template message content. The inbox must be a WhatsApp inbox; other inboxes return
400.
Authorization
- inbox:read
- owner
- admin
- agent
List WhatsApp templates for an inbox.
Parameters
- Name
id- Type
- path · string
- required
Inbox ID.- Name
pageSize- Type
- query · integer
Number of templates to return. Defaults to 100 and is capped at 1000.- Name
pageToken- Type
- query · string
Token returned asnextPageTokenfrom the previous page.
Responses
- 200List of WhatsApp templatesapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/inboxes/$INBOX_ID/whatsapp/templates" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"templates": [
{
"id": "987654321",
"name": "order_ready",
"language": "en",
"status": "APPROVED",
"category": "UTILITY",
"components": [
{
"type": "BODY",
"text": "Hi {{1}}, your order {{2}} is ready for pickup."
}
]
}
]
}List WhatsApp Flows
https://api.flownally.com/v1/inboxes/{id}/whatsapp/flowsReturns the published WhatsApp Flows of this inbox's WhatsApp Business Account, sorted by
name. Use a Flow id as flowId in a rich message card action. The inbox must be a
WhatsApp inbox; other inboxes return 400. An inbox connected through 360dialog returns
422 with code messaging_whatsapp_flows_unsupported_provider.
Authorization
- inbox:read
- owner
- admin
- agent
List published WhatsApp Flows for an inbox.
Parameters
- Name
id- Type
- path · string
- required
Inbox ID.- Name
pageSize- Type
- query · integer
Number of Flows to return. Defaults to 100 and is capped at 1000.- Name
pageToken- Type
- query · string
Token returned asnextPageTokenfrom the previous page.
Responses
- 200List of published WhatsApp Flowsapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/inboxes/$INBOX_ID/whatsapp/flows" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"flows": [
{
"id": "string",
"name": "order_ready",
"status": "string",
"categories": [
"string"
]
}
],
"nextPageToken": "string"
}List Instagram media
https://api.flownally.com/v1/inboxes/{inboxId}/instagram/mediaReturns the posts, reels and active stories of this inbox's Instagram account. Use media
id values as mediaIds in a journey's instagram_comment trigger. Posts and reels
come first, then stories.Flownally filters by mediaTypes after reading a page from Instagram, so a page can
hold fewer items than pageSize, or none, and still have a nextPageToken. Keep paging
until nextPageToken is absent. The inbox must be an Instagram inbox; other inboxes
return 400.
Authorization
- inbox:read
- owner
- admin
- agent
List Instagram media available for Journey targeting.
Parameters
- Name
inboxId- Type
- path · string
- required
Inbox ID.- Name
mediaTypes- Type
- query · array<InstagramMediaType>
Media types to include. Defaults topost,reelandstory.- Name
pageSize- Type
- query · integer
Number of media items to read from Instagram for this page. Defaults to 50; values above 100 are treated as 100.- Name
pageToken- Type
- query · string
Opaque token returned asnextPageTokenfrom the previous page.
Responses
- 200Instagram media pageapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/inboxes/$INBOX_ID/instagram/media" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"media": [
{
"id": "string",
"type": "post",
"caption": "string",
"permalink": "string",
"mediaUrl": "https://example.com",
"thumbnailUrl": "https://example.com",
"publishedAt": "2026-04-27T00:00:00.000Z"
}
],
"nextPageToken": "string"
}List WhatsApp phone numbers
https://api.flownally.com/v1/whatsapp/{wabaId}/phone-numbersReturns the phone numbers on a WhatsApp Business Account that is connected to this
workspace, with their verified name, quality rating and registration status. A WhatsApp
inbox's config.wabaId holds the account ID. Returns 503 with code
messaging_whatsapp_phone_numbers_unavailable when WhatsApp can't list the numbers right
now; retry later.
Authorization
- inbox:create
- owner
- admin
List WhatsApp phone numbers available for inbox creation.
Parameters
- Name
wabaId- Type
- path · string
- required
WhatsApp Business Account ID.
Responses
- 200List of phone numbersapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/whatsapp/$WABA_ID/phone-numbers" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"phoneNumbers": [
{
"id": "112233445566778",
"displayPhoneNumber": "+48 123 456 789",
"verifiedName": "Flownally Support",
"qualityRating": "GREEN",
"codeVerificationStatus": "",
"isRegistered": true
}
]
}List Twilio phone numbers
https://api.flownally.com/v1/twilio/{accountSid}/phone-numbersReturns every phone number on the Twilio account, using the Auth Token in the request
body. Flownally keeps the Auth Token as a pending credential for 30 minutes. To connect
numbers, pass the returned pendingCredentialId and the chosen phoneNumberSid values
to POST /inboxes within that time, as the same service account or user.
Authorization
- inbox:create
- owner
- admin
List Twilio phone numbers available for inbox creation.
Parameters
- Name
accountSid- Type
- path · string
- required
Twilio Account SID.
Body parameters
Send a application/json body. The body is required.
- Name
authToken- Type
- string
- required
Twilio Auth Token.
Responses
- 200List of Twilio phone numbersapplication/json
- defaultErrorapplication/json
Related schemas
curl -X POST "https://api.flownally.com/v1/twilio/$ACCOUNT_SID/phone-numbers" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"authToken": "string"
}'{
"pendingCredentialId": "pcr_d7pk0g5hrlnflntmp74g",
"phoneNumbers": [
{
"phoneNumberSid": "PN1234567890abcdef1234567890abcdef",
"phoneNumber": "+15557650000",
"friendlyName": "Support",
"capabilities": {
"sms": true,
"mms": true,
"voice": false
}
}
]
}