| Input | Type | Description |
|---|---|---|
| page | integer | |
| cutoff | integer | Unix timestamp of oldest alert to include. Note that unread or unviewed alerts are always included. |
| unviewed | bool | If true, gets only unviewed alerts. Unviewed alerts have not been seen (in the standard UI). |
| unread | bool | If true, gets only unread alerts. Unread alerts may have been seen but the content they relate to has not been viewed. |
| Output | Type | Description |
|---|---|---|
| alerts | UserAlert[] | |
| pagination | pagination |
| Input | Type | Description |
|---|---|---|
| to_user_id | integer | ID of the user to receive the alert |
| alert | string | Text of the alert. May use the placeholder "{link}" to have the link automatically inserted. |
| from_user_id | integer | If provided, the user to send the alert from. Otherwise, uses the current API user. May be 0 for an anonymous alert. |
| link_url | string | URL user will be taken to when the alert is clicked. |
| link_title | string | Text of the link URL that will be displayed. If no placeholder is present in the alert, will be automatically appended. |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| read | bool | If specified, marks all alerts as read. |
| viewed | bool | If specified, marks all alerts as viewed. This will remove the alert counter but keep unactioned alerts highlighted. |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| alert | UserAlert |
| Input | Type | Description |
|---|---|---|
| read | bool | If specified, marks the alert as read. |
| unread | bool | If specified, marks the alert as unread. |
| viewed | bool | If specified, marks all alerts as viewed. |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| key | string | The API attachment key |
| Output | Type | Description |
|---|---|---|
| attachments | Attachment[] | List of matching attachments. |
| Input | Type | Description |
|---|---|---|
| key | string | The API attachment key to associated with |
| attachment | file | The attachment file |
| Output | Type | Description |
|---|---|---|
| attachment | Attachment | The attachment record of the successful upload |
| Error key | Description |
|---|---|
| attachment_key_user_wrong | Triggered if the user making the request does not match the user that created the attachment key. |
| Input | Type | Description |
|---|---|---|
| type | string | The content type of the attachment. Default types include post, conversation_message. Add-ons may add more. |
| context | string[] | Key-value pairs representing the context of the attachment. This will vary depending on content type and the action being taken. See relevant actions for further details. |
| attachment | file | The first attachment to be associated with the new key. |
| Output | Type | Description |
|---|---|---|
| key | string | The attachment key created. This should be used to upload additional files or to associate uploaded attachments with other content. |
| attachment | Attachment | If a file was provided and the upload was successful, this will describe the new attachment. |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| attachment | Attachment |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| data | binary | The binary data is output directly, not JSON. |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| url | string | The URL to the thumbnail is returned via a 301 redirect's Location header. |
| Error key | Description |
|---|---|
| not_found | Not found if the attachment does not have a thumbnail |
| Input | Type | Description |
|---|---|---|
| login | string | The username or email address of the user to test |
| password | string | The password of the user |
| limit_ip | string | The IP that should be considered to be making the request. If provided, this will be used to prevent brute force attempts. |
| Output | Type | Description |
|---|---|---|
| user | User | If successful, the user record of the matching user |
| Input | Type | Description |
|---|---|---|
| session_id | string | If provided, checks for an active session with that ID. |
| remember_cookie | string | If provided, checks to see if this is an active "remember me" cookie value. |
| Output | Type | Description |
|---|---|---|
| success | bool | If false, no session or remember cookie could be found |
| user | User | If successful, the user record of the matching user. May be a guest. |
| Input | Type | Description |
|---|---|---|
| user_id | integer | |
| limit_ip | string | If provided, locks the token to the specified IP for additional security |
| return_url | string | If provided, after logging the user will be returned to this URL. Otherwise they'll go to the XenForo index. |
| force | bool | If provided, the login URL will forcibly replace the currently logged in user if a user is already logged in and different to the currently logged in user. Defaults to false. |
| remember | bool | Controls whether the a "remember me" cookie will be set when the user logs in. Defaults to true. |
| Output | Type | Description |
|---|---|---|
| login_token | string | |
| login_url | string | Direct user to this URL to trigger a login |
| expiry_date | integer | Unix timestamp of when the token expires. An error will be displayed if the token is expired or invalid |
| Input | Type | Description |
|---|---|---|
| conversation_id | integer | |
| message | string | |
| attachment_key | string | API attachment key to upload files. Attachment key content type must be conversation_message with context[conversation_id] set to this conversation ID. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| message | ConversationMessage | The newly inserted message |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| message | ConversationMessage |
| Input | Type | Description |
|---|---|---|
| message | string | The new message content |
| attachment_key | string | API attachment key to upload files. Attachment key content type must be conversation_message with context[message_id] set to this message ID. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| message | ConversationMessage |
| Input | Type | Description |
|---|---|---|
| reaction_id | integer | ID of the reaction to use. Use the current reaction ID to undo. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| action | string | "insert" or "delete" based on whether the reaction was added or removed. |
| Input | Type | Description |
|---|---|---|
| page | integer | |
| starter_id | integer | |
| receiver_id | integer | |
| starred | bool | Only gets starred conversations if specified |
| unread | bool | Only gets unread conversations if specified |
| Output | Type | Description |
|---|---|---|
| conversations | Conversation[] | |
| pagination | pagination |
| Input | Type | Description |
|---|---|---|
| recipient_ids | integer[] | List of user IDs to send the conversation to |
| title | string | Conversation title |
| message | string | Conversation message body |
| attachment_key | string | API attachment key to upload files. Attachment key content type must be conversation_message with no context. |
| conversation_open | bool | If false, no replies may be made to this conversation. |
| open_invite | bool | If true, any member of the conversation may add others |
| Output | Type | Description |
|---|---|---|
| success | true | |
| conversation | Conversation |
| Input | Type | Description |
|---|---|---|
| with_messages | bool | If specified, the response will include a page of messages. |
| page | integer | The page of messages to include |
| Output | Type | Description |
|---|---|---|
| conversation | Conversation | |
| messages | ConversationMessage[] | List of messages on the requested page |
| pagination | pagination | Pagination details |
| Input | Type | Description |
|---|---|---|
| title | string | Conversation title |
| open_invite | bool | If true, any member of the conversation can add others |
| conversation_open | bool | If false, no further replies are allowed. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| conversation | Conversation |
| Input | Type | Description |
|---|---|---|
| ignore | bool | If true, further replies to this conversation will be ignored. (Otherwise, replies will restore this conversation to the list.) |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| recipient_ids | integer[] | List of user IDs to invite |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| date | integer | Unix timestamp to mark the conversation read to. If not specified, defaults to the current time. |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| page | integer |
| Output | Type | Description |
|---|---|---|
| messages | ConversationMessage[] | List of messages on the requested page |
| pagination | pagination | Pagination details |
| Input | Type | Description |
|---|---|---|
| star | bool | If provided, sets the star status as specified. If not provided, toggles the status. |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| with_threads | bool | If true, gets a page of threads in this forum |
| page | integer | |
| prefix_id | integer | Filters to only threads with the specified prefix. |
| starter_id | integer | Filters to only threads started by the specified user ID. |
| last_days | integer | Filters to threads that have had a reply in the last X days. |
| unread | bool | Filters to unread threads only. Ignored for guests. |
| thread_type | string | Filters to threads of the specified thread type. |
| order | string | Method of ordering: last_post_date, post_date. When in a specific forum context: title, reply_count, view_count, vote_score, first_post_reaction_score. |
| direction | string | Either "asc" or "desc" for ascending or descending. Applies only if an order is provided. |
| Input | Type | Description |
|---|---|---|
| date | integer | Unix timestamp to mark the forum read to. If not specified, defaults to the current time. |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| page | integer | |
| prefix_id | integer | Filters to only threads with the specified prefix. |
| starter_id | integer | Filters to only threads started by the specified user ID. |
| last_days | integer | Filters to threads that have had a reply in the last X days. |
| unread | bool | Filters to unread threads only. Ignored for guests. |
| thread_type | string | Filters to threads of the specified thread type. |
| order | string | Method of ordering: last_post_date, post_date. When in a specific forum context: title, reply_count, view_count, vote_score, first_post_reaction_score. |
| direction | string | Either "asc" or "desc" for ascending or descending. Applies only if an order is provided. |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| version_id | integer | XenForo version ID |
| site_title | string | Title of the site this API relates to |
| base_url | string | The base URL of the XenForo install this API relates to |
| api_url | string | The base API URL |
| key[type] | string | Type of the API key accessing the API (guest, user or super) |
| key[user_id] | integer|null | If a user key, the ID of the user the key is for; null otherwise |
| key[allow_all_scopes] | bool | If true, all scopes can be accessed |
| key[scopes] | string[] | A list of scopes this key can access (if not allowed to access all scopes) |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| me | User |
| Input | Type | Description |
|---|---|---|
| option[creation_watch_state] | string | |
| option[interaction_watch_state] | string | |
| option[content_show_signature] | bool | |
| option[email_on_conversation] | bool | |
| option[push_on_conversation] | bool | |
| option[receive_admin_email] | bool | |
| option[show_dob_year] | bool | |
| option[show_dob_date] | bool | |
| profile[location] | string | |
| profile[website] | string | |
| profile[about] | string | |
| profile[signature] | string | |
| privacy[allow_view_profile] | string | |
| privacy[allow_post_profile] | string | |
| privacy[allow_receive_news_feed] | string | |
| privacy[allow_send_personal_conversation] | string | |
| privacy[allow_view_identities] | string | |
| visible | bool | |
| activity_visible | bool | |
| timezone | string | |
| custom_title | string | |
| custom_fields[<name>] | string |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| avatar | file | The uploaded new avatar |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| current_password | string | |
| string |
| Output | Type | Description |
|---|---|---|
| success | true | |
| confirmation_required | bool | True if email confirmation is required for this change |
| Input | Type | Description |
|---|---|---|
| current_password | string | |
| new_password | string |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| tree_map | array | A mapping that connects node parent IDs to a list of their child node IDs |
| nodes | Node[] | List of all nodes |
| Input | Type | Description |
|---|---|---|
| node[title] | string | |
| node[node_name] | string | |
| node[description] | string | |
| node[parent_node_id] | integer | |
| node[display_order] | integer | |
| node[display_in_list] | bool | |
| type_data | array | Type-specific node data. The available options will vary based on the node type involved. |
| node_type_id | string |
| Output | Type | Description |
|---|---|---|
| node | Node | Information about the created node |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| nodes_flat | array | An array. Each entry contains keys of "node" and "depth" |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| node | Node |
| Input | Type | Description |
|---|---|---|
| node[title] | string | |
| node[node_name] | string | |
| node[description] | string | |
| node[parent_node_id] | integer | |
| node[display_order] | integer | |
| node[display_in_list] | bool | |
| type_data | array | Type-specific node data. The available options will vary based on the node type involved. |
| Output | Type | Description |
|---|---|---|
| node | Node | The updated node information |
| Input | Type | Description |
|---|---|---|
| delete_children | bool | If true, child nodes will be deleted. Otherwise, they will be connected to this node's parent. |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| thread_id | integer | ID of the thread to reply to. |
| message | string | |
| attachment_key | string | API attachment key to upload files. Attachment key context type must be post with context[thread_id] set to this thread ID. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| post | Post |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| post | Post |
| Input | Type | Description |
|---|---|---|
| message | string | |
| silent | bool | If true and permissions allow, this edit will not be updated with a "last edited" indication |
| clear_edit | bool | If true and permissions allow, any "last edited" indication will be removed. Requires "silent". |
| author_alert | bool | |
| author_alert_reason | string | |
| attachment_key | string | API attachment key to upload files. Attachment key context type must be post with context[post_id] set to this post ID. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| post | Post |
| Input | Type | Description |
|---|---|---|
| hard_delete | bool | |
| reason | string | |
| author_alert | bool | |
| author_alert_reason | string |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Input | Type | Description |
|---|---|---|
| reaction_id | integer | ID of the reaction to use. Use the current reaction ID to undo. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| action | string | "insert" or "delete" based on whether the reaction was added or removed. |
| Input | Type | Description |
|---|---|---|
| type | string | Type of vote, "up" or "down". Use the current type to undo. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| action | string | "insert" or "delete" based on whether the reaction was added or removed. |
| Input | Type | Description |
|---|---|---|
| profile_post_id | integer | The ID of the profile post this comment will be attached to. |
| message | string | |
| attachment_key | string | API attachment key to upload files. Attachment key context type must be profile_post_comment with context[profile_post_id] set to this profile post ID. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| comment | ProfilePostComment |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| comment | ProfilePostComment |
| Input | Type | Description |
|---|---|---|
| message | string | |
| author_alert | bool | |
| author_alert_reason | string | |
| attachment_key | string | API attachment key to upload files. Attachment key context type must be profile_post_comment with context[profile_post_comment_id] set to this profile post comment ID. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| comment | ProfilePostComment |
| Input | Type | Description |
|---|---|---|
| hard_delete | bool | |
| reason | string | |
| author_alert | bool | |
| author_alert_reason | string |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| reaction_id | integer | ID of the reaction to use. Use the current reaction ID to undo. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| action | string | "insert" or "delete" based on whether the reaction was added or removed. |
| Input | Type | Description |
|---|---|---|
| user_id | integer | The ID of the user whose profile this will be posted on. |
| message | string | |
| attachment_key | string | API attachment key to upload files. Attachment key context type must be profile_post with context[profile_user_id] set to this user ID. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| profile_post | ProfilePost |
| Input | Type | Description |
|---|---|---|
| with_comments | bool | If specified, the response will include a page of comments. |
| page | integer | The page of comments to include |
| direction | string | Request a particular sort order for comments - default 'desc' (newest first) also allows 'asc' (oldest first) |
| Output | Type | Description |
|---|---|---|
| profile_post | ProfilePost | |
| comments | ProfilePostComment[] | List of comments on the requested page |
| pagination | pagination | Pagination details |
| Input | Type | Description |
|---|---|---|
| message | string | |
| author_alert | bool | |
| author_alert_reason | string | |
| attachment_key | string | API attachment key to upload files. Attachment key context type must be profile_post with context[profile_post_id] set to this profile post ID. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| profile_post | ProfilePost |
| Input | Type | Description |
|---|---|---|
| hard_delete | bool | |
| reason | string | |
| author_alert | bool | |
| author_alert_reason | string |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| page | integer | |
| direction | string | Request a particular sort order for comments - default 'desc' (newest first) also allows 'asc' (oldest first) |
| Output | Type | Description |
|---|---|---|
| comments | ProfilePostComment[] | List of comments on the requested page |
| pagination | pagination | Pagination details |
| Input | Type | Description |
|---|---|---|
| reaction_id | integer | ID of the reaction to use. Use the current reaction ID to undo. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| action | string | "insert" or "delete" based on whether the reaction was added or removed. |
| Input | Type | Description |
|---|---|---|
| search_type | string | |
| keywords | string | |
| c | array | |
| order | string | |
| grouped | bool |
| Output | Type | Description |
|---|---|---|
| success | true | |
| search | Search |
| Input | Type | Description |
|---|---|---|
| user_id | integer | |
| content | string | |
| type | string | |
| before | integer | |
| thread_type | string | |
| grouped | bool |
| Output | Type | Description |
|---|---|---|
| success | true | |
| search | Search |
| Input | Type | Description |
|---|---|---|
| page | integer |
| Output | Type | Description |
|---|---|---|
| search | Search | |
| results | array | |
| pagination | pagination | |
| get_older_results_date | integer|null |
| Input | Type | Description |
|---|---|---|
| search_id | integer | |
| before | integer |
| Output | Type | Description |
|---|---|---|
| success | true | |
| search | Search |
| Input | Type | Description |
|---|---|---|
| with_threads | bool | If true, gets a page of threads in this search forum |
| page | integer |
| Output | Type | Description |
|---|---|---|
| search_forum | SearchForum | |
| threads | Thread[] | Threads on this page. Note: this will always respect viewing user permissions regardless of whether the API is set to bypass permissions. |
| pagination | pagination | Pagination information |
| sticky | Thread[] | If on page 1, a list of sticky threads in this forum. Does not count towards the per page limit. |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| threads | Thread[] | Threads on this page. Note: this will always respect viewing user permissions regardless of whether the API is set to bypass permissions. |
| pagination | pagination | Pagination information |
| sticky | Thread[] | If on page 1, a list of sticky threads in this forum. Does not count towards the per page limit. |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| totals[threads] | integer | |
| totals[messages] | integer | |
| totals[users] | integer | |
| latest_user[user_id] | integer | |
| latest_user[username] | string | |
| latest_user[register_date] | integer | |
| online[total] | integer | |
| online[members] | integer | |
| online[guests] | integer |
| Input | Type | Description |
|---|---|---|
| page | integer | |
| prefix_id | integer | Filters to only threads with the specified prefix. |
| starter_id | integer | Filters to only threads started by the specified user ID. |
| last_days | integer | Filters to threads that have had a reply in the last X days. |
| unread | bool | Filters to unread threads only. Ignored for guests. |
| thread_type | string | Filters to threads of the specified thread type. |
| order | string | Method of ordering: last_post_date, post_date. When in a specific forum context: title, reply_count, view_count, vote_score, first_post_reaction_score. |
| direction | string | Either "asc" or "desc" for ascending or descending. Applies only if an order is provided. |
| Output | Type | Description |
|---|---|---|
| threads | Thread[] | |
| pagination | pagination |
| Input | Type | Description |
|---|---|---|
| node_id | integer | ID of the forum to create the thread in. |
| title | string | Title of the thread. |
| message | string | Body of the first post in the thread. |
| discussion_type | string | The type of thread to create. Specific types may require additional input. |
| prefix_id | integer | ID of the prefix to apply to the thread. If not valid in the selected forum, will be ignored. |
| tags | string[] | Array of tag names to apply to the thread. |
| custom_fields[<name>] | string | Value to apply to the custom field with the specified name. |
| discussion_open | bool | |
| sticky | bool | |
| attachment_key | string | API attachment key to upload files. Attachment key context type must be post with context[node_id] set to the ID of the forum this is being posted in. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| thread | Thread |
| Error key | Description |
|---|---|
| no_permission | No permission error. |
| Input | Type | Description |
|---|---|---|
| with_posts | bool | If specified, the response will include a page of posts. |
| page | integer | The page of posts to include |
| with_first_post | bool | If specified, the response will contain the first post in the thread. |
| with_last_post | bool | If specified, the response will contain the last post in the thread. |
| order | string | Request a particular sort order for posts from the available options for the thread type |
| Output | Type | Description |
|---|---|---|
| thread | Thread | |
| first_unread | Post | If the thread is unread, information about the first unread post. |
| first_post | Post | If requested, information about the first post in the thread. |
| last_post | Post | If requested, information about the last post in the thread. |
| pinned_post | Post | The pinned first post of the thread, if specified by the thread type. |
| highlighted_posts | Post[] | A list of highlighted posts, if relevant to the thread type. The reason for highlighting depends on thread type. |
| posts | Post[] | List of posts on the requested page. Note that even if the first post is pinned, it will be included here. |
| pagination | pagination | Pagination details |
| Input | Type | Description |
|---|---|---|
| prefix_id | integer | |
| title | string | |
| discussion_open | bool | |
| sticky | bool | |
| custom_fields[<name>] | string | |
| add_tags | array | |
| remove_tags | array |
| Output | Type | Description |
|---|---|---|
| success | true | |
| thread | Thread |
| Input | Type | Description |
|---|---|---|
| hard_delete | bool | |
| reason | string | |
| starter_alert | bool | |
| starter_alert_reason | string |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| new_thread_type_id | string |
| Output | Type | Description |
|---|---|---|
| success | true | |
| thread | Thread |
| Input | Type | Description |
|---|---|---|
| date | integer | Unix timestamp to mark the thread read to. If not specified, defaults to the current time. |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| target_node_id | integer | |
| prefix_id | integer | If set, will update the thread's prefix. Prefix must be valid in the target forum. |
| title | string | If set, updates the thread's title |
| notify_watchers | bool | If true, users watching the target forum will receive a notification as if this thread were created in the target forum |
| starter_alert | bool | If true, the thread starter will receive an alert notifying them of the move |
| starter_alert_reason | bool | The reason for the move to include with the thread starter alert |
| Output | Type | Description |
|---|---|---|
| success | true | |
| thread | Thread |
| Input | Type | Description |
|---|---|---|
| page | integer | |
| order | string | Request a particular sort order for posts from the available options for the thread type |
| Output | Type | Description |
|---|---|---|
| pinned_post | Post | The pinned first post of the thread, if specified by the thread type. |
| highlighted_posts | Post[] | A list of highlighted posts, if relevant to the thread type. The reason for highlighting depends on thread type. |
| posts | Post[] | List of posts on the requested page. Note that even if the first post is pinned, it will be included here. |
| pagination | pagination | Pagination details |
| Input | Type | Description |
|---|---|---|
| type | string | Type of vote, "up" or "down". Use the current type to undo. |
| Output | Type | Description |
|---|---|---|
| success | true | |
| action | string | "insert" or "delete" based on whether the reaction was added or removed. |
| Input | Type | Description |
|---|---|---|
| page | integer |
| Output | Type | Description |
|---|---|---|
| users | User[] | |
| pagination | pagination |
| Input | Type | Description |
|---|---|---|
| option[creation_watch_state] | string | |
| option[interaction_watch_state] | string | |
| option[content_show_signature] | bool | |
| option[email_on_conversation] | bool | |
| option[push_on_conversation] | bool | |
| option[receive_admin_email] | bool | |
| option[show_dob_year] | bool | |
| option[show_dob_date] | bool | |
| profile[location] | string | |
| profile[website] | string | |
| profile[about] | string | |
| profile[signature] | string | |
| privacy[allow_view_profile] | string | |
| privacy[allow_post_profile] | string | |
| privacy[allow_receive_news_feed] | string | |
| privacy[allow_send_personal_conversation] | string | |
| privacy[allow_view_identities] | string | |
| visible | bool | |
| activity_visible | bool | |
| timezone | string | |
| custom_title | string | |
| option[is_discouraged] | bool | |
| username | string | |
| string | ||
| user_group_id | integer | |
| secondary_group_ids | integer[] | |
| user_state | string | |
| is_staff | bool | |
| message_count | integer | |
| reaction_score | integer | |
| trophy_points | integer | |
| username_change_visible | bool | If true and the username is changed, the change will be visible (shown in the public list of previous usernames). |
| password | string | |
| dob[day] | integer | |
| dob[month] | integer | |
| dob[year] | integer | |
| custom_fields[<name>] | string |
| Output | Type | Description |
|---|---|---|
| success | true | |
| user | User |
| Input | Type | Description |
|---|---|---|
| string | [required] |
| Output | Type | Description |
|---|---|---|
| user | User|null | The user that matched the given email exactly |
| Input | Type | Description |
|---|---|---|
| username | string | [required] |
| Input | Type | Description |
|---|---|---|
| with_posts | bool | If specified, the response will include a page of profile posts. |
| page | integer | The page of comments to include |
| Output | Type | Description |
|---|---|---|
| user | User | |
| profile_posts | ProfilePost[] | List of profile posts on the requested page |
| pagination | pagination | Pagination details |
| Input | Type | Description |
|---|---|---|
| option[creation_watch_state] | string | |
| option[interaction_watch_state] | string | |
| option[content_show_signature] | bool | |
| option[email_on_conversation] | bool | |
| option[push_on_conversation] | bool | |
| option[receive_admin_email] | bool | |
| option[show_dob_year] | bool | |
| option[show_dob_date] | bool | |
| profile[location] | string | |
| profile[website] | string | |
| profile[about] | string | |
| profile[signature] | string | |
| privacy[allow_view_profile] | string | |
| privacy[allow_post_profile] | string | |
| privacy[allow_receive_news_feed] | string | |
| privacy[allow_send_personal_conversation] | string | |
| privacy[allow_view_identities] | string | |
| visible | bool | |
| activity_visible | bool | |
| timezone | string | |
| custom_title | string | |
| option[is_discouraged] | bool | |
| username | string | |
| string | ||
| user_group_id | integer | |
| secondary_group_ids | integer[] | |
| user_state | string | |
| is_staff | bool | |
| message_count | integer | |
| reaction_score | integer | |
| trophy_points | integer | |
| username_change_visible | bool | If true and the username is changed, the change will be visible (shown in the public list of previous usernames). |
| password | string | |
| dob[day] | integer | |
| dob[month] | integer | |
| dob[year] | integer | |
| custom_fields[<name>] | string |
| Output | Type | Description |
|---|---|---|
| success | true | |
| user | User |
| Input | Type | Description |
|---|---|---|
| rename_to | string | If specified, the user will be renamed before deletion |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| avatar | file | The uploaded new avatar |
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| None. | ||
| Output | Type | Description |
|---|---|---|
| success | true |
| Input | Type | Description |
|---|---|---|
| page | integer |
| Output | Type | Description |
|---|---|---|
| profile_posts | ProfilePost[] | List of profile posts on the requested page |
| pagination | pagination | Pagination details |
| Input | Type | Description |
|---|---|---|
| client_id | string | |
| client_secret | string | |
| token | string | |
| token_type_hint | string | Defaults to 'access_token' but can be 'refresh_token' to revoke a refresh token. |
| Output | Type | Description |
|---|---|---|
| None. | ||
| Input | Type | Description |
|---|---|---|
| Unknown, documentation incomplete | ||
| Output | Type | Description |
|---|---|---|
| Unknown, documentation incomplete | ||
| Input | Type | Description |
|---|---|---|
| Unknown, documentation incomplete | ||
| Output | Type | Description |
|---|---|---|
| Unknown, documentation incomplete | ||
| Input | Type | Description |
|---|---|---|
| Unknown, documentation incomplete | ||
| Output | Type | Description |
|---|---|---|
| Unknown, documentation incomplete | ||
| Column | Type | Description |
|---|---|---|
| filename | string | |
| file_size | integer | |
| height | integer | |
| width | integer | |
| thumbnail_url | string | |
| direct_url | string | |
| is_video | bool | |
| is_audio | bool | |
| attachment_id | integer | |
| content_type | string | |
| content_id | integer | |
| attach_date | integer | |
| view_count | integer |
| Column | Type | Description |
|---|---|---|
| username | string | Name of the user that started the conversation |
| recipients | object | Key-value pair of recipient user IDs and names |
| is_starred | bool | True if the viewing user starred the conversation |
| is_unread | bool | If accessing as a user, true if this conversation is unread |
| can_edit | bool | |
| can_reply | bool | |
| can_invite | bool | |
| can_upload_attachment | bool | |
| view_url | string | |
| conversation_id | integer | |
| title | string | |
| user_id | integer | |
| start_date | integer | |
| open_invite | bool | |
| conversation_open | bool | |
| reply_count | integer | |
| recipient_count | integer | |
| first_message_id | integer | |
| last_message_date | integer | |
| last_message_id | integer | |
| last_message_user_id | integer | |
| Starter | User |
| Column | Type | Description |
|---|---|---|
| username | string | |
| is_unread | bool | If accessing as a user, true if this conversation message is unread |
| message_parsed | string | HTML parsed version of the message contents. |
| can_edit | bool | |
| can_react | bool | |
| view_url | string | |
| Conversation | Conversation | If requested by context, the conversation this message is part of. |
| Attachments | Attachment[] | If there are attachments to this message, a list of attachments. |
| is_reacted_to | bool | True if the viewing user has reacted to this content |
| visitor_reaction_id | integer | If the viewer reacted, the ID of the reaction they used |
| message_id | integer | |
| conversation_id | integer | |
| message_date | integer | |
| user_id | integer | |
| message | string | |
| attach_count | integer | |
| reaction_score | integer | |
| User | User |
| Column | Type | Description |
|---|---|---|
| forum_type_id | string | |
| allow_posting | bool | |
| require_prefix | bool | |
| min_tags | integer |
| Column | Type | Description |
|---|---|---|
| link_url | string | |
| redirect_count | integer |
| Column | Type | Description |
|---|---|---|
| breadcrumbs | array | A list of breadcrumbs for this node, including the node_id, title, and node_type_id |
| type_data | object | Data related to the specific node type this represents. Contents will vary significantly. |
| view_url | string | |
| node_id | integer | |
| title | string | |
| node_name | string | |
| description | string | |
| node_type_id | string | |
| parent_node_id | integer | |
| display_order | integer | |
| display_in_list | bool |
| Column | Type | Description |
|---|---|---|
| publish_date | integer | |
| view_count | integer |
| Column | Type | Description |
|---|---|---|
| can_vote | bool | |
| has_voted | bool | |
| responses | array | List of possible responses with text, vote count (if visible) and whether the API user has voted for each |
| poll_id | integer | |
| question | string | |
| voter_count | integer | |
| public_votes | bool | |
| max_votes | integer | |
| close_date | integer | |
| change_vote | bool | |
| view_results_unvoted | bool |
| Column | Type | Description |
|---|---|---|
| username | string | |
| is_first_post | bool | |
| is_last_post | bool | |
| is_unread | bool | If accessing as a user, true if this post is unread |
| message_parsed | string | HTML parsed version of the message contents. |
| can_edit | bool | |
| can_soft_delete | bool | |
| can_hard_delete | bool | |
| can_react | bool | |
| can_view_attachments | bool | |
| view_url | string | |
| Thread | Thread | If requested by context, the thread this post is part of. |
| Attachments | Attachment[] | Attachments to this post, if it has any. |
| is_reacted_to | bool | True if the viewing user has reacted to this content |
| visitor_reaction_id | integer | If the viewer reacted, the ID of the reaction they used |
| vote_score | integer | The content's vote score (if supported) |
| can_content_vote | bool | True if the viewing user can vote on this content |
| allowed_content_vote_types | string[] | List of content vote types allowed on this content |
| is_content_voted | bool | True if the viewing user has voted on this content |
| visitor_content_vote | string | If the viewer reacted, the vote they case (up/down) |
| post_id | integer | |
| thread_id | integer | |
| user_id | integer | |
| post_date | integer | |
| message | string | |
| message_state | string | |
| attach_count | integer | |
| warning_message | string | |
| position | integer | |
| last_edit_date | integer | |
| reaction_score | integer | |
| User | User |
| Column | Type | Description |
|---|---|---|
| username | string | |
| message_parsed | string | HTML parsed version of the message contents. |
| can_edit | bool | |
| can_soft_delete | bool | |
| can_hard_delete | bool | |
| can_react | bool | |
| can_view_attachments | bool | |
| view_url | string | |
| ProfileUser | User | If requested by context, the user this profile post was left for. |
| Attachments | Attachment[] | Attachments to this profile post, if it has any. |
| LatestComments | ProfilePostComment[] | If requested, the most recent comments on this profile post. |
| is_reacted_to | bool | True if the viewing user has reacted to this content |
| visitor_reaction_id | integer | If the viewer reacted, the ID of the reaction they used |
| profile_post_id | integer | |
| profile_user_id | integer | |
| user_id | integer | |
| post_date | integer | |
| message | string | |
| message_state | string | |
| warning_message | string | |
| comment_count | integer | |
| first_comment_date | integer | |
| last_comment_date | integer | |
| reaction_score | integer | |
| User | User |
| Column | Type | Description |
|---|---|---|
| username | string | |
| message_parsed | string | HTML parsed version of the message contents. |
| can_edit | bool | |
| can_soft_delete | bool | |
| can_hard_delete | bool | |
| can_react | bool | |
| can_view_attachments | bool | |
| Attachments | Attachment[] | Attachments to this profile post, if it has any. |
| ProfilePost | ProfilePost | If requested by context, the profile post this comment relates to. |
| is_reacted_to | bool | True if the viewing user has reacted to this content |
| visitor_reaction_id | integer | If the viewer reacted, the ID of the reaction they used |
| profile_post_comment_id | integer | |
| profile_post_id | integer | |
| user_id | integer | |
| comment_date | integer | |
| message | string | |
| message_state | string | |
| warning_message | string | |
| reaction_score | integer | |
| User | User |
| Column | Type | Description |
|---|---|---|
| search_id | integer | |
| result_count | integer | |
| search_type | string | |
| search_query | string | |
| search_constraints | array | |
| search_order | string | |
| search_grouping | bool | |
| warnings | array | |
| user_id | integer | |
| search_date | integer | |
| query_hash | string |
| Column | Type | Description |
|---|---|---|
| username | string | |
| is_watching | bool | If accessing as a user, true if they are watching this thread |
| visitor_post_count | integer | If accessing as a user, the number of posts they have made in this thread |
| is_unread | bool | If accessing as a user, true if this thread is unread |
| custom_fields | object | Key-value pairs of custom field values for this thread |
| tags | array | |
| prefix | string | Present if this thread has a prefix. Printable name of the prefix. |
| can_edit | bool | |
| can_edit_tags | bool | |
| can_reply | bool | |
| can_soft_delete | bool | |
| can_hard_delete | bool | |
| can_view_attachments | bool | |
| view_url | string | |
| is_first_post_pinned | bool | |
| highlighted_post_ids | array | |
| is_search_engine_indexable | bool | |
| index_state | string | Present for members with permission to change the search index state of this thread. |
| Forum | Node | If requested by context, the forum this thread was posted in. |
| vote_score | integer | The content's vote score (if supported) |
| can_content_vote | bool | True if the viewing user can vote on this content |
| allowed_content_vote_types | string[] | List of content vote types allowed on this content |
| is_content_voted | bool | True if the viewing user has voted on this content |
| visitor_content_vote | string | If the viewer reacted, the vote they case (up/down) |
| thread_id | integer | |
| node_id | integer | |
| title | string | |
| reply_count | integer | |
| view_count | integer | |
| user_id | integer | |
| post_date | integer | |
| sticky | bool | |
| discussion_state | string | |
| discussion_open | bool | |
| discussion_type | string | |
| first_post_id | integer | |
| last_post_date | integer | |
| last_post_id | integer | |
| last_post_user_id | integer | |
| last_post_username | string | |
| first_post_reaction_score | integer | |
| prefix_id | integer | |
| User | User |
| Column | Type | Description |
|---|---|---|
| field_id | string | |
| title | string | |
| description | string | |
| display_order | integer | |
| field_type | string | |
| field_choices | object | For choice types, an ordered list of choices, with "option" and "name" keys for each. |
| match_type | string | |
| match_params | array | |
| max_length | integer | |
| required | bool | |
| display_group | string | If this field type supports grouping, the group this field belongs to. |
| Column | Type | Description |
|---|---|---|
| prefix_id | integer | |
| title | string | |
| description | string | |
| usage_help | string | |
| is_usable | bool | True if the acting user can use (select) this prefix. |
| prefix_group_id | integer | |
| display_order | integer | |
| materialized_order | integer | Effective order, taking group ordering into account. |
| Column | Type | Description |
|---|---|---|
| about | string | |
| activity_visible | bool | |
| age | integer | The user's current age. Only included if available. |
| alert_optout | array | |
| allow_post_profile | string | |
| allow_receive_news_feed | string | |
| allow_send_personal_conversation | string | |
| allow_view_identities | string | |
| allow_view_profile | string | |
| avatar_urls | object | Maps from size types to URL. |
| profile_banner_urls | object | Maps from size types to URL. |
| can_ban | bool | |
| can_converse | bool | |
| can_edit | bool | |
| can_follow | bool | |
| can_ignore | bool | |
| can_post_profile | bool | |
| can_view_profile | bool | |
| can_view_profile_posts | bool | |
| can_warn | bool | |
| content_show_signature | bool | |
| creation_watch_state | string | |
| custom_fields | object | Map of custom field keys and values. |
| custom_title | string | Will have a value if a custom title has been specifically set; prefer user_title instead. |
| dob | object | Date of birth with year, month and day keys. |
| string | ||
| email_on_conversation | bool | |
| gravatar | string | |
| interaction_watch_state | bool | |
| is_admin | bool | |
| is_banned | bool | |
| is_discouraged | bool | |
| is_followed | bool | True if the visitor is following this user. Only included if visitor is not a guest. |
| is_ignored | bool | True if the visitor is ignoring this user. Only included if visitor is not a guest. |
| is_moderator | bool | |
| is_super_admin | bool | |
| last_activity | integer | Unix timestamp of user's last activity, if available. |
| location | string | |
| push_on_conversation | bool | |
| push_optout | array | |
| receive_admin_email | bool | |
| secondary_group_ids | array | |
| show_dob_date | bool | |
| show_dob_year | bool | |
| signature | string | |
| timezone | string | |
| use_tfa | bool | |
| user_group_id | integer | |
| user_state | string | |
| user_title | string | |
| visible | bool | |
| warning_points | integer | Current warning points. |
| website | string | |
| view_url | string | |
| user_id | integer | |
| username | string | |
| message_count | integer | |
| question_solution_count | integer | |
| register_date | integer | |
| trophy_points | integer | |
| is_staff | bool | |
| reaction_score | integer | |
| vote_score | integer |
| Column | Type | Description |
|---|---|---|
| field_id | string | |
| title | string | |
| description | string | |
| display_order | integer | |
| field_type | string | |
| field_choices | object | For choice types, an ordered list of choices, with "option" and "name" keys for each. |
| match_type | string | |
| match_params | array | |
| max_length | integer | |
| required | bool | |
| display_group | string | If this field type supports grouping, the group this field belongs to. |
| Column | Type | Description |
|---|---|---|
| album_id | integer | |
| category_id | integer | |
| title | string | |
| description | string | |
| create_date | integer | |
| last_update_date | integer | |
| view_privacy | string | |
| add_privacy | string | |
| album_state | string | |
| user_id | integer | |
| media_count | integer | |
| view_count | integer | |
| warning_message | string | |
| last_comment_date | integer | |
| last_comment_id | integer | |
| last_comment_user_id | integer | |
| last_comment_username | string | |
| comment_count | integer | |
| rating_count | integer | |
| rating_avg | float | |
| rating_weighted | float | |
| reaction_score | integer | |
| User | User |
| Column | Type | Description |
|---|---|---|
| category_id | integer | |
| title | string | |
| description | string | |
| category_type | string | |
| media_count | integer | |
| album_count | integer | |
| comment_count | integer | |
| allowed_types | array | |
| min_tags | integer | |
| category_index_limit | integer | |
| parent_category_id | integer | |
| display_order | integer |
| Column | Type | Description |
|---|---|---|
| field_id | string | |
| title | string | |
| description | string | |
| display_order | integer | |
| field_type | string | |
| field_choices | object | For choice types, an ordered list of choices, with "option" and "name" keys for each. |
| match_type | string | |
| match_params | array | |
| max_length | integer | |
| required | bool | |
| display_group | string | If this field type supports grouping, the group this field belongs to. |
| Column | Type | Description |
|---|---|---|
| media_id | integer | |
| title | string | |
| description | string | |
| media_date | integer | |
| last_edit_date | integer | |
| media_type | string | |
| media_state | string | |
| album_id | integer | |
| album_state | string | |
| category_id | integer | |
| user_id | integer | |
| view_count | integer | |
| warning_message | string | |
| last_comment_date | integer | |
| last_comment_id | integer | |
| last_comment_user_id | integer | |
| last_comment_username | string | |
| comment_count | integer | |
| rating_count | integer | |
| rating_avg | float | |
| rating_weighted | float | |
| reaction_score | integer | |
| User | User |
| Column | Type | Description |
|---|---|---|
| resource_category_id | integer | |
| title | string | |
| description | string | |
| resource_count | integer | |
| last_update | integer | |
| last_resource_title | string | |
| last_resource_id | integer | |
| allow_local | bool | |
| allow_external | bool | |
| allow_commercial_external | bool | |
| allow_fileless | bool | |
| min_tags | integer | |
| enable_versioning | bool | |
| enable_support_url | bool | |
| parent_category_id | integer | |
| display_order | integer |
| Column | Type | Description |
|---|---|---|
| field_id | string | |
| title | string | |
| description | string | |
| display_order | integer | |
| field_type | string | |
| field_choices | object | For choice types, an ordered list of choices, with "option" and "name" keys for each. |
| match_type | string | |
| match_params | array | |
| max_length | integer | |
| required | bool | |
| display_group | string | If this field type supports grouping, the group this field belongs to. |
| Column | Type | Description |
|---|---|---|
| resource_id | integer | |
| title | string | |
| tag_line | string | |
| user_id | integer | |
| resource_state | string | |
| resource_type | string | |
| resource_date | integer | |
| resource_category_id | integer | |
| external_url | string | |
| price | float | |
| currency | string | |
| view_count | integer | |
| download_count | integer | |
| rating_count | integer | |
| rating_avg | float | |
| rating_weighted | float | |
| last_update | integer | |
| alt_support_url | string | |
| prefix_id | integer | |
| Category | XFRM_Category | |
| User | User |
| Column | Type | Description |
|---|---|---|
| prefix_id | integer | |
| title | string | |
| description | string | |
| usage_help | string | |
| is_usable | bool | True if the acting user can use (select) this prefix. |
| prefix_group_id | integer | |
| display_order | integer | |
| materialized_order | integer | Effective order, taking group ordering into account. |
| Column | Type | Description |
|---|---|---|
| field_id | string | |
| title | string | |
| description | string | |
| display_order | integer | |
| field_type | string | |
| field_choices | object | For choice types, an ordered list of choices, with "option" and "name" keys for each. |
| match_type | string | |
| match_params | array | |
| max_length | integer | |
| required | bool | |
| display_group | string | If this field type supports grouping, the group this field belongs to. |
| Column | Type | Description |
|---|---|---|
| resource_version_id | integer | |
| resource_id | integer | |
| version_string | string | |
| release_date | integer | |
| download_count | integer | |
| rating_count | integer | |
| version_state | string |