Shape your requests
Learn how arguments, pagination, filtering, field selection, responses, and errors work with the Invision Community API on MindCloud.
Once your first Invision Community request works, use this page to shape real production requests. MindCloud keeps the app-specific API details behind one REST format, so you can control arguments, pagination, filtering, fields, and errors without learning a separate convention for every provider. If you have not connected Invision Community yet, start with Connect to Invision Community.
Arguments
Arguments are the inputs an action needs. Pass them as flat fields beside the Universal API fields: query parameters for read and delete actions, JSON body fields for create and update actions. Each Invision Community action page documents its exact argument keys, types, and which ones are required. Keys are case-sensitive, and requests with missing or invalid required arguments fail instead of guessing.
Request format
The REST format is intentionally plain. Choose a Invision Community action, call its Universal API URL, authenticate with your MindCloud API Key, and include the connection and action fields in the correct lane for the HTTP method.
| Piece | Where it goes |
|---|---|
| Action fields | Query parameters for GET and DELETE; JSON body fields for POST, PUT, and PATCH. |
connectionId | Query string for reads and deletes; body for creates and updates. |
limit, offset, where, sort, fields | Universal API controls; always query parameters, never body fields. |
Pagination
Paginated list actions accept limit and offset as query parameters. Some providers use page numbers, some use cursors; MindCloud translates your request into whatever Invision Community expects, so you page through results the same way on every app. Start at offset=0, add limit to the offset after each page, and stop when a page returns fewer rows than you asked for.
curl --request GET \
--url "https://connect.mindcloud.co/v1/universal/invisionCommunity/latest/actions/get-applications" \
--header "Authorization: Bearer $MINDCLOUD_API_KEY" \
--get \
--data-urlencode "connectionId=$CONNECTION_ID" \
--data-urlencode "limit=25" \
--data-urlencode "offset=0"These Invision Community actions support pagination:
- List Assignments
- List Blog Categories
- List Blog Comments
- List Blog Entries
- List Blog Entry Categories
- List Blog Entry Comments
- List Blogs
- List Calendar Comments
- List Calendar Reviews
- List Calendars
- List Club Members
- List Club Nodes
- List Clubs
- List CMS Categories
- List CMS Comments
- List CMS Record Comments
- List CMS Record Reviews
- List CMS Records
- List CMS Reviews
- List Content Items
- List Courses
- List Download Categories
- List Download Comments
- List Download File Comments
- List Download File History
- List Download File Reviews
- List Download Files
- List Download Reviews
- List Event Comments
- List Event Reviews
- List Event RSVPs
- List Events
- List Featured Content
- List Forums
- List Gallery Albums
- List Gallery Categories
- List Gallery Comments
- List Gallery Reviews
- List Image Comments
- List Image Reviews
- List Images
- List Invoices
- List Member Follows
- List Member Messages
- List Member Notifications
- List Member Warnings
- List Members
- List Message Replies
- List Messages
- List Posts
- List Purchases
- List Tags
- List Topic Posts
- List Topics
- List Transactions
- List Venues
- List Webhooks
- List Withdrawals
- Search Content
Field selection
Use the fields query parameter to return only the response fields your code reads, with dot notation for nested objects: fields=id,name,profile.email. Selection is applied to each row in data after the response is mapped, and id is kept whenever it exists so rows stay identifiable.
Responses and errors
Every Invision Community response is mapped into the same public envelope before it reaches your code: success, your rows in a data array (single-row actions return an array with one item), and optional meta. Failed requests return success: false with a stable code to branch on and a human-readable message:
{
"success": false,
"code": "CONNECTION_APP_MISMATCH",
"message": "Connection \"conn_123\" is not configured for this app."
}Check the HTTP status first: 401 or 403 for authentication and authorization, 400 for invalid request shape, and 5xx when MindCloud cannot complete the action upstream. Most failures come from a missing API Key, a missing or mismatched connection, or arguments that do not match the action page.