Skip to main content

Load More Conversations

warning

Inbox management is not available on the Basic plan. Upgrade to Intermediate, Growth or Business plan to access this endpoint.

Overview​

The Load More Conversations endpoint fetches five more conversations from Facebook or Instagram for one selected social account. It follows the same behavior as the Load More button in Social Inbox and stores the fetched conversations and their recent messages.

Base URL:

https://message.oneupapp.io

Endpoint​

POST /api/conversations/load-more

Request Parameters​

ParameterRequiredTypeDescription
apiKeyYesstringYour personal API key generated from the API Access page. Passed as a query parameter.
social_account_idYesstringThe selected Facebook or Instagram social account ID. Maximum: 255 characters.

Sample Request​

curl --location --request POST \
"https://message.oneupapp.io/api/conversations/load-more?apiKey=YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"social_account_id": "104040148726689"
}'

Sample Response​

{
"message": "OK",
"error": false,
"data": {
"previous_count": 20,
"total_count": 25,
"added_count": 5,
"requested_limit": 25,
"has_more": true
},
"meta": []
}

Response Fields​

FieldDescription
previous_countNumber of conversations stored for the selected account before the request.
total_countNumber of conversations stored after the provider request.
added_countNumber of newly stored conversations.
requested_limitTotal number of recent conversations requested from the provider. This increases by five per call.
has_moreWhether another Load More request can be attempted. Returns false when no new conversations are found or 50 conversations are stored.

After a successful request, call Fetch Conversations again and merge the results by conversation id. Start again without a cursor so the updated ordering is returned.

WhatsApp conversations are updated by webhooks and cannot use this endpoint.

Error Responses​

StatusWhen
401Missing or invalid apiKey.
403Inbox management is unavailable on the Basic plan.
404The selected account was not found or does not belong to the authorized user.
422The account is WhatsApp, unsupported, or needs to be reconnected.
429The limit of 60 requests per minute per API key was exceeded. Wait for the Retry-After interval.
502The provider request failed.

✅ Result: You have successfully loaded more conversations for the selected account!