{"openapi":"3.1.0","info":{"version":"1.0.0","title":"The Mighty Networks Admin API","description":"An API for managing your Mighty Networks network"},"servers":[{"url":"https://api.mn.co","description":"Production"}],"tags":[{"name":"Members","description":"Manage members of your network"},{"name":"Courseworks","description":"Manage course content (lessons, quizzes, sections)"},{"name":"Reactions","description":"Manage reactions on comments"},{"name":"Mute","description":"Mute posts for users"},{"name":"Comments","description":"Manage comments on posts"},{"name":"Invites","description":"Invites allow you to invite users to your network"},{"name":"Tags","description":"Manage tags for your network"},{"name":"Spaces","description":"Spaces are the organizational units within a Network where content and members are organized"},{"name":"Plans","description":"Manage plans in your network"},{"name":"PasswordResets","description":"Manage member password resets"},{"name":"Badges","description":"Manage badges for your network"},{"name":"Rsvps","description":"Manage event RSVPs for your network"},{"name":"Options","description":"Manage dropdown custom field options"},{"name":"Answers","description":"Manage member responses to custom fields"},{"name":"Subscriptions","description":"Manage payment subscriptions - recurring payments from members to hosts for plans"},{"name":"Purchases","description":"Manage purchases and subscriptions for your network"},{"name":"Posts","description":"Posts also include Articles."},{"name":"Polls","description":"Polls and Questions allow members to share opinions and engage with each other"},{"name":"Networks","description":"Networks are the top-level organizational unit under which other resources are nested"},{"name":"Me","description":"Metadata about the requesting user"},{"name":"Events","description":"Events are scheduled gatherings that members can RSVP to and engage with"},{"name":"CustomFields","description":"Manage custom fields for your network"},{"name":"Collections","description":"Manage collections in your network"},{"name":"Assets","description":"Manage assets for your network"},{"name":"AbuseReports","description":"Manage abuse reports for your network"}],"paths":{"/admin/v1/networks/{network_id}/spaces/{space_id}/members":{"get":{"summary":"Return members of the given space","operationId":"list_members","tags":["Members"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"ID of the space","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of member objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponsePaged"}}}},"404":{"description":"Space not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Add a user as a member to the space","operationId":"create_members","tags":["Members"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"ID of the space","schema":{"type":"integer","format":"uint64"}},{"name":"user_id","in":"query","required":true,"description":"ID of the user to add","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"The newly created member object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"404":{"description":"User or space not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error (e.g., user already a member)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/spaces/{space_id}/members/{user_id}/":{"get":{"summary":"Return a single member by user ID","operationId":"show_member","tags":["Members"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"ID of the space","schema":{"type":"integer","format":"uint64"}},{"name":"user_id","in":"path","required":true,"description":"ID of the user","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A member object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Update a member's role in the space","operationId":"update_members","tags":["Members"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"ID of the space","schema":{"type":"integer","format":"uint64"}},{"name":"user_id","in":"path","required":true,"description":"ID of the user","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request body for updating a member's role and profile information","type":"object","properties":{"role":{"type":"string","description":"New role for the member (host, moderator, contributor)","example":"moderator"},"email":{"type":"string","format":"email","description":"New email address for the member","example":"newemail@example.com"},"first_name":{"type":"string","description":"New first name for the member","example":"Jane"},"last_name":{"type":"string","description":"New last name for the member","example":"Smith"}}}}}},"responses":{"200":{"description":"The updated member object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid role value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update a member's role in the space","operationId":"replace_members","tags":["Members"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"ID of the space","schema":{"type":"integer","format":"uint64"}},{"name":"user_id","in":"path","required":true,"description":"ID of the user","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberUpdateRequest"}}}},"responses":{"200":{"description":"The updated member object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid role value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Remove a member from the space","operationId":"delete_members","tags":["Members"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"ID of the space","schema":{"type":"integer","format":"uint64"}},{"name":"user_id","in":"path","required":true,"description":"ID of the user to remove","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"User successfully removed from space (returns empty object)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}},"403":{"description":"Member cannot be removed while they hold a paid plan in this space","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"User not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/spaces/{space_id}/members/{user_id}/ban":{"post":{"summary":"Ban a user from the network","operationId":"create_members","tags":["Members"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"ID of the space","schema":{"type":"integer","format":"uint64"}},{"name":"user_id","in":"path","required":true,"description":"ID of the user to ban","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BanRequest"}}}},"responses":{"200":{"description":"User successfully banned (returns empty object)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}}},"404":{"description":"User not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/spaces/{space_id}/courseworks":{"get":{"summary":"Returns a list of coursework items for the given space (course)","operationId":"list_courseworks","tags":["Courseworks"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"The ID of the course (space) to fetch coursework from","schema":{"type":"integer","format":"uint64"}},{"name":"type","in":"query","required":false,"description":"Filter by coursework type (lesson, quiz, section, overview)","schema":{"type":"string"}},{"name":"parent_id","in":"query","required":false,"description":"Filter by parent coursework ID","schema":{"type":"integer","format":"uint64"}},{"name":"status","in":"query","required":false,"description":"Filter by visibility status (posted, hidden, pending)","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of coursework items","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseworkResponsePaged"}}}},"404":{"description":"Space not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Create a new coursework item (lesson, quiz, or section)","operationId":"create_courseworks","tags":["Courseworks"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"The ID of the course (space) to create coursework in","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseworkRequest"}}}},"responses":{"201":{"description":"Returns the newly created coursework item","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseworkResponse"}}}},"404":{"description":"Space or parent not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid coursework data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/spaces/{space_id}/courseworks/{id}/":{"get":{"summary":"Returns a single coursework item by ID","operationId":"show_coursework","tags":["Courseworks"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"The ID of the course (space)","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the coursework item","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A coursework item","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseworkResponse"}}}},"404":{"description":"Coursework not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Update an existing coursework item","operationId":"update_courseworks","tags":["Courseworks"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"The ID of the course (space)","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the coursework item to update","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Update fields for a coursework item","type":"object","properties":{"title":{"type":"string","description":"The title of the coursework item"},"description":{"type":"string","description":"The description/body content of the coursework item"},"status":{"type":"string","description":"The visibility status (posted, hidden, pending)"},"parent_id":{"type":"integer","format":"uint64","description":"Move to a new parent coursework item (section or overview)"},"completion_criteria":{"type":"string","description":"How completion is tracked (none, visited, button, video, minimum_correct_percentage)"},"unlocking_criteria":{"type":"string","description":"When content becomes available (none, sequential, time_from_course_join, scheduled_date)"}}}}}},"responses":{"200":{"description":"Returns the updated coursework item","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseworkResponse"}}}},"404":{"description":"Coursework not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid coursework data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update an existing coursework item","operationId":"replace_courseworks","tags":["Courseworks"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"The ID of the course (space)","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the coursework item to update","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseworkUpdateRequest"}}}},"responses":{"200":{"description":"Returns the updated coursework item","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseworkResponse"}}}},"404":{"description":"Coursework not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid coursework data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete a coursework item","operationId":"delete_courseworks","tags":["Courseworks"],"parameters":[{"name":"space_id","in":"path","required":true,"description":"The ID of the course (space)","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the coursework item to delete","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Coursework successfully deleted"},"404":{"description":"Coursework not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/posts/{post_id}/reactions":{"get":{"summary":"Returns a list of reactions for a specific post","operationId":"list_reactions","tags":["Reactions"],"parameters":[{"name":"post_id","in":"path","required":true,"description":"The ID of the post","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of reaction objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionResponsePaged"}}}},"404":{"description":"Post not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Create a new reaction on a post","operationId":"create_reactions","tags":["Reactions"],"parameters":[{"name":"post_id","in":"path","required":true,"description":"The ID of the post","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionRequest"}}}},"responses":{"201":{"description":"Returns the newly created reaction on success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionResponse"}}}},"404":{"description":"Post not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid reaction data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete the reaction from a post","operationId":"delete_reactions","tags":["Reactions"],"parameters":[{"name":"post_id","in":"path","required":true,"description":"The ID of the post","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Reaction successfully deleted"},"404":{"description":"Post or reaction not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/posts/{post_id}/mute":{"post":{"summary":"Mute a post for a specific user (unfollow notifications)","operationId":"create_mute","tags":["Mute"],"parameters":[{"name":"post_id","in":"path","required":true,"description":"The ID of the post","schema":{"type":"integer","format":"uint64"}},{"name":"user_id","in":"query","required":true,"description":"The ID of the user to mute the post for","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Post successfully muted for the user"},"404":{"description":"Post or user not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Unmute a post for a specific user (refollow notifications)","operationId":"delete_mute","tags":["Mute"],"parameters":[{"name":"post_id","in":"path","required":true,"description":"The ID of the post","schema":{"type":"integer","format":"uint64"}},{"name":"user_id","in":"query","required":true,"description":"The ID of the user to unmute the post for","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Post successfully unmuted for the user"},"404":{"description":"Post or user not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/posts/{post_id}/comments":{"get":{"summary":"Returns a list of comments for a specific post","operationId":"list_comments","tags":["Comments"],"parameters":[{"name":"post_id","in":"path","required":true,"description":"The ID of the post","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of comment objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentResponsePaged"}}}},"404":{"description":"Post not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Create a new comment on a post","operationId":"create_comments","tags":["Comments"],"parameters":[{"name":"post_id","in":"path","required":true,"description":"The ID of the post","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentRequest"}}}},"responses":{"201":{"description":"Returns the newly created comment on success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentResponse"}}}},"404":{"description":"Post not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid comment data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/posts/{post_id}/comments/{id}/":{"get":{"summary":"Query details of a specific comment by its ID","operationId":"show_comment","tags":["Comments"],"parameters":[{"name":"post_id","in":"path","required":true,"description":"The ID of the post","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the comment","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Details about the requested comment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentResponse"}}}},"404":{"description":"Post or comment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete a comment from a post","operationId":"delete_comments","tags":["Comments"],"parameters":[{"name":"post_id","in":"path","required":true,"description":"The ID of the post","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the comment to delete","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Comment successfully deleted"},"404":{"description":"Post or comment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/plans/{plan_id}/members":{"get":{"summary":"Return members of the given plan","operationId":"list_members","tags":["Members"],"parameters":[{"name":"plan_id","in":"path","required":true,"description":"The ID of the plan","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of member objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponsePaged"}}}},"404":{"description":"Plan not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Add a member directly to a free/nonpaid plan, granting them access\n\nThe member will be granted access immediately; no invite is sent.\n","operationId":"create_members","tags":["Members"],"parameters":[{"name":"plan_id","in":"path","required":true,"description":"The ID of the plan","schema":{"type":"integer","format":"uint64"}},{"name":"user_id","in":"query","required":false,"description":"The user ID to add","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"The plan object with the member added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanResponse"}}}},"404":{"description":"Plan or user not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid parameters or user already has access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/plans/{plan_id}/members/{member_id}/":{"get":{"summary":"Return a single member by member ID","operationId":"show_member","tags":["Members"],"parameters":[{"name":"plan_id","in":"path","required":true,"description":"The ID of the plan","schema":{"type":"integer","format":"uint64"}},{"name":"member_id","in":"path","required":true,"description":"The ID of the member","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A member object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"404":{"description":"Member not found or does not have access to this plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/plans/{plan_id}/invites":{"get":{"summary":"Return all invites for the given plan","operationId":"list_invites","tags":["Invites"],"parameters":[{"name":"plan_id","in":"path","required":true,"description":"The ID of the plan","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of invite objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteResponsePaged"}}}},"404":{"description":"Plan not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Create an invite to a plan","operationId":"create_invites","tags":["Invites"],"parameters":[{"name":"plan_id","in":"path","required":true,"description":"The ID of the plan to invite to","schema":{"type":"integer","format":"uint64"}},{"name":"email","in":"query","required":false,"description":"The email address to invite","schema":{"type":"string"}},{"name":"user_id","in":"query","required":false,"description":"The user ID to invite","schema":{"type":"integer","format":"uint64"}},{"name":"message","in":"query","required":false,"description":"Optional invite message","schema":{"type":"string"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"The created invite","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteResponse"}}}},"404":{"description":"Plan not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid invite parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/plans/{plan_id}/invites/{id}/":{"get":{"summary":"Return a single invite by ID","operationId":"show_invite","tags":["Invites"],"parameters":[{"name":"plan_id","in":"path","required":true,"description":"The ID of the plan","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the invite","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"An invite object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteResponse"}}}},"404":{"description":"Invite not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Resend an existing invite","operationId":"update_invites","tags":["Invites"],"parameters":[{"name":"plan_id","in":"path","required":true,"description":"The ID of the plan","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the invite to resend","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"The updated invite","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteResponse"}}}},"404":{"description":"Invite not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid invite (e.g., already converted)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Resend an existing invite","operationId":"replace_invites","tags":["Invites"],"parameters":[{"name":"plan_id","in":"path","required":true,"description":"The ID of the plan","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the invite to resend","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"The updated invite","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteResponse"}}}},"404":{"description":"Invite not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid invite (e.g., already converted)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Revoke an unaccepted invite","operationId":"delete_invites","tags":["Invites"],"parameters":[{"name":"plan_id","in":"path","required":true,"description":"The ID of the plan","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the invite to revoke","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Returns a 204 No-Content on success, with no response body"},"404":{"description":"Invite not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Returns a 409 Conflict when the invite has already been accepted. To revoke access to an invited member, use the Plan Members API","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/members/{member_id}/tags":{"get":{"summary":"Return tags for the given member","operationId":"list_tags","tags":["Tags"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of tag objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagResponsePaged"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Add a tag to a member","operationId":"create_tags","tags":["Tags"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberTagAddRequest"}}}},"responses":{"200":{"description":"The tag that was added to the member","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagResponse"}}}},"404":{"description":"Member or tag not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/members/{member_id}/tags/{tag_id}/":{"get":{"summary":"Return a single tag by ID for the given member","operationId":"show_tag","tags":["Tags"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"tag_id","in":"path","required":true,"description":"ID of the tag","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A tag object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagResponse"}}}},"404":{"description":"Member or tag not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Remove a tag from a member","operationId":"delete_tags","tags":["Tags"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"tag_id","in":"path","required":true,"description":"ID of the tag to remove","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Tag successfully removed from member"},"404":{"description":"member or tag not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/members/{member_id}/spaces":{"get":{"summary":"Return spaces for a given member","operationId":"list_spaces","tags":["Spaces"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of spaces","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceResponsePaged"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/members/{member_id}/plans":{"get":{"summary":"Return all plans that a member has access to","operationId":"list_plans","tags":["Plans"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"The ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of plan objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanResponsePaged"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/members/{member_id}/password_resets":{"post":{"summary":"Send a password reset email to a member","operationId":"create_password_resets","tags":["PasswordResets"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Password reset email sent successfully"},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/members/{member_id}/badges":{"get":{"summary":"Return badges for the given member","operationId":"list_badges","tags":["Badges"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of badge objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeResponsePaged"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Add a badge to the given member","operationId":"create_badges","tags":["Badges"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberBadgeRequest"}}}},"responses":{"201":{"description":"The badge was added successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeResponse"}}}},"404":{"description":"Member or badge not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/members/{member_id}/badges/{badge_id}/":{"get":{"summary":"Return a single badge by ID for the given member","operationId":"show_badge","tags":["Badges"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"badge_id","in":"path","required":true,"description":"ID of the badge","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A badge object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeResponse"}}}},"404":{"description":"Member or badge not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Remove a badge from the given member","operationId":"delete_badges","tags":["Badges"],"parameters":[{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"badge_id","in":"path","required":true,"description":"ID of the badge","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Badge removed successfully"},"404":{"description":"Member or badge not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/events/{event_id}/rsvps":{"get":{"summary":"List RSVPs for an event","operationId":"list_rsvps","tags":["Rsvps"],"parameters":[{"name":"event_id","in":"path","required":true,"description":"ID of the event","schema":{"type":"integer","format":"uint64"}},{"name":"instance_at","in":"query","required":false,"description":"Filter RSVPs for a specific recurring event instance","schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of RSVP objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsvpResponsePaged"}}}},"404":{"description":"Event not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Create or update an RSVP for an event","operationId":"create_rsvps","tags":["Rsvps"],"parameters":[{"name":"event_id","in":"path","required":true,"description":"ID of the event","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsvpRequest"}}}},"responses":{"200":{"description":"The created or updated RSVP object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsvpResponse"}}}},"403":{"description":"Member is not in this network","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Event or member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid RSVP status or instance","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/events/{event_id}/rsvps/{id}/":{"get":{"summary":"Get a specific RSVP by ID","operationId":"show_rsvp","tags":["Rsvps"],"parameters":[{"name":"event_id","in":"path","required":true,"description":"ID of the event","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"ID of the RSVP","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"An RSVP object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsvpResponse"}}}},"404":{"description":"RSVP not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Update an existing RSVP","operationId":"update_rsvps","tags":["Rsvps"],"parameters":[{"name":"event_id","in":"path","required":true,"description":"ID of the event","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"ID of the RSVP","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request to create or update an RSVP","type":"object","properties":{"member_id":{"type":"integer","format":"uint64","description":"The ID of the member to RSVP on behalf of","example":123},"status":{"type":"string","description":"The RSVP status. Must be one of: yes, maybe, no","example":"yes"},"instance_at":{"type":"string","format":"date-time","description":"The specific event instance for recurring events (ISO8601 format)","example":"2025-03-15T14:00:00Z"}}}}}},"responses":{"200":{"description":"The updated RSVP object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsvpResponse"}}}},"403":{"description":"Member is not in this network or RSVP cannot be updated due to event settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"RSVP or member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid RSVP status or instance","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update an existing RSVP","operationId":"replace_rsvps","tags":["Rsvps"],"parameters":[{"name":"event_id","in":"path","required":true,"description":"ID of the event","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"ID of the RSVP","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsvpRequest"}}}},"responses":{"200":{"description":"The updated RSVP object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsvpResponse"}}}},"403":{"description":"Member is not in this network or RSVP cannot be updated due to event settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"RSVP or member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid RSVP status or instance","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete an RSVP","operationId":"delete_rsvps","tags":["Rsvps"],"parameters":[{"name":"event_id","in":"path","required":true,"description":"ID of the event","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"ID of the RSVP","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"RSVP successfully deleted"},"404":{"description":"RSVP not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/custom_fields/{custom_field_id}/options":{"get":{"summary":"Return all options for a custom field","operationId":"list_options","tags":["Options"],"parameters":[{"name":"custom_field_id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"name":"term","in":"query","required":false,"description":"Search term to filter options by title","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of custom field option objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldOptionResponsePaged"}}}}}},"post":{"summary":"Create a new option for a custom field","operationId":"create_options","tags":["Options"],"parameters":[{"name":"custom_field_id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldOptionRequest"}}}},"responses":{"201":{"description":"The created custom field option object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldOptionResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/custom_fields/{custom_field_id}/options/{id}/":{"get":{"summary":"Return a single option by ID","operationId":"show_option","tags":["Options"],"parameters":[{"name":"custom_field_id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"ID of the option","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A custom field option object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldOptionResponse"}}}},"404":{"description":"Option not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Update an option","operationId":"update_options","tags":["Options"],"parameters":[{"name":"custom_field_id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"ID of the option","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request body for updating a custom field option","type":"object","properties":{"title":{"type":"string","description":"The title of the option","example":"Blue"},"description":{"type":"string","description":"Description of the option","example":"Select this if blue is your favorite color"}}}}}},"responses":{"200":{"description":"The updated custom field option object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldOptionResponse"}}}},"404":{"description":"Option not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update an option","operationId":"replace_options","tags":["Options"],"parameters":[{"name":"custom_field_id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"ID of the option","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldOptionUpdateRequest"}}}},"responses":{"200":{"description":"The updated custom field option object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldOptionResponse"}}}},"404":{"description":"Option not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete an option","operationId":"delete_options","tags":["Options"],"parameters":[{"name":"custom_field_id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"ID of the option","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Option deleted successfully"},"404":{"description":"Option not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/custom_fields/{custom_field_id}/members/{member_id}/answers":{"get":{"summary":"Return all responses for a member to a custom field","operationId":"list_answers","tags":["Answers"],"parameters":[{"name":"custom_field_id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of custom field answer objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldAnswerResponsePaged"}}}},"404":{"description":"Custom field or member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Create or update a member's response to a custom field","operationId":"create_answers","tags":["Answers"],"parameters":[{"name":"custom_field_id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldAnswerRequest"}}}},"responses":{"200":{"description":"The custom field answer object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldAnswerResponse"}}}},"403":{"description":"You do not have permission to manage this member's responses","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Custom field or member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error (e.g., text length constraints, segment count, etc.)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete a member's response to a custom field","operationId":"delete_answers","tags":["Answers"],"parameters":[{"name":"custom_field_id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Response deleted successfully"},"403":{"description":"You do not have permission to manage this member's responses","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Custom field, member, or answer not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unsupported custom field type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/custom_fields/{custom_field_id}/members/{member_id}/answers/{id}/":{"get":{"summary":"Return a single response by ID","operationId":"show_answer","tags":["Answers"],"parameters":[{"name":"custom_field_id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"name":"member_id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"ID of the response","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A custom field answer object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldAnswerResponse"}}}},"404":{"description":"Custom field, member, or response not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/comments/{comment_id}/reactions":{"get":{"summary":"Returns a list of reactions for a specific comment","operationId":"list_reactions","tags":["Reactions"],"parameters":[{"name":"comment_id","in":"path","required":true,"description":"The ID of the comment","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of reaction objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionResponsePaged"}}}},"404":{"description":"Comment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"summary":"Create a new reaction on a comment","operationId":"create_reactions","tags":["Reactions"],"parameters":[{"name":"comment_id","in":"path","required":true,"description":"The ID of the comment","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionRequest"}}}},"responses":{"201":{"description":"Returns the newly created reaction on success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionResponse"}}}},"404":{"description":"Comment not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid reaction data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete the reaction from a comment","operationId":"delete_reactions","tags":["Reactions"],"parameters":[{"name":"comment_id","in":"path","required":true,"description":"The ID of the comment","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Reaction successfully deleted"},"404":{"description":"Comment or reaction not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/tags":{"get":{"summary":"Return all tags for the network","operationId":"list_tags","tags":["Tags"],"parameters":[{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of tag objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagResponsePaged"}}}}}},"post":{"summary":"Create a new tag","operationId":"create_tags","tags":["Tags"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagRequest"}}}},"responses":{"201":{"description":"The created tag object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/tags/{id}/":{"get":{"summary":"Return a single tag by ID","operationId":"show_tag","tags":["Tags"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the tag","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A tag object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagResponse"}}}},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Update a tag","operationId":"update_tags","tags":["Tags"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the tag","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request to update a tag","type":"object","properties":{"title":{"type":"string","description":"The title of the tag","example":"VIP Member"},"description":{"type":"string","description":"The description of the tag","example":"Premium tier members"},"color":{"type":"string","description":"The hex color code for the tag","example":"#FF5733"}}}}}},"responses":{"200":{"description":"The updated tag object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagResponse"}}}},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update a tag","operationId":"replace_tags","tags":["Tags"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the tag","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagUpdateRequest"}}}},"responses":{"200":{"description":"The updated tag object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagResponse"}}}},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete a tag","operationId":"delete_tags","tags":["Tags"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the tag","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Tag deleted successfully"},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/subscriptions":{"get":{"summary":"List all payment subscriptions for the network","operationId":"list_subscriptions","tags":["Subscriptions"],"parameters":[{"name":"status","in":"query","required":false,"description":"Filter by status: 'canceled' for archived subscriptions","schema":{"type":"string"}},{"name":"member_id","in":"query","required":false,"description":"Filter by member (user) ID","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Returns paginated list of subscriptions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionResponsePaged"}}}}}}},"/admin/v1/networks/{network_id}/subscriptions/{id}":{"get":{"summary":"Get details of a specific payment subscription","operationId":"show_subscription","tags":["Subscriptions"],"parameters":[{"name":"id","in":"path","required":true,"description":"Subscription ID","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Returns the subscription details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionResponse"}}}},"404":{"description":"Subscription not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Cancel a payment subscription","operationId":"delete_subscriptions","tags":["Subscriptions"],"parameters":[{"name":"id","in":"path","required":true,"description":"Subscription ID","schema":{"type":"integer","format":"uint64"}},{"name":"when","in":"query","required":false,"description":"When to cancel: 'now' (immediate) or 'end_of_billing_cycle' (default: 'end_of_billing_cycle')","schema":{"type":"string"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Returns the canceled subscription details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionResponse"}}}},"400":{"description":"Invalid 'when' parameter value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Subscription not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Subscription is already canceled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/spaces":{"get":{"summary":"Returns a list of spaces for the current network","operationId":"list_spaces","tags":["Spaces"],"parameters":[{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of spaces","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceResponsePaged"}}}}}},"post":{"summary":"Create a new space in the network","operationId":"create_spaces","tags":["Spaces"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceRequest"}}}},"responses":{"201":{"description":"Space successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceResponse"}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error - space cannot be created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/spaces/{id}":{"get":{"summary":"Query details of a specific space by its ID","operationId":"show_space","tags":["Spaces"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the space to fetch","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Details about the requested space","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceResponse"}}}}}},"patch":{"summary":"Update a space by its ID","operationId":"update_spaces","tags":["Spaces"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the space to update","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request to update a space","type":"object","properties":{"name":{"type":"string","description":"The name of the space","example":"Updated Space Name"},"collection_id":{"type":"integer","format":"uint64","description":"The ID of the collection to move the space to","example":123}}}}}},"responses":{"200":{"description":"Space successfully updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceResponse"}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Space not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error - space cannot be updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update a space by its ID","operationId":"replace_spaces","tags":["Spaces"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the space to update","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceUpdateRequest"}}}},"responses":{"200":{"description":"Space successfully updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceResponse"}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Space not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error - space cannot be updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete a space by its ID","operationId":"delete_spaces","tags":["Spaces"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the space to delete","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Space successfully deleted"},"404":{"description":"Space not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error - space cannot be deleted due to business constraints","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/purchases":{"get":{"summary":"Return purchases and subscriptions for the given network","operationId":"list_purchases","tags":["Purchases"],"parameters":[{"name":"plan_id","in":"query","required":false,"description":"Filter by plan ID","schema":{"type":"integer","format":"uint64"}},{"name":"member_id","in":"query","required":false,"description":"Filter by member ID (user ID)","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of purchase objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseResponsePaged"}}}}}}},"/admin/v1/networks/{network_id}/purchases/{id}/":{"get":{"summary":"Return a single purchase by ID","operationId":"show_purchase","tags":["Purchases"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the purchase","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A purchase object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseResponse"}}}},"404":{"description":"Purchase not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Remove a member from a plan (revoke purchase access). Note: Cannot remove members from Apple In-App Purchases.","operationId":"delete_purchases","tags":["Purchases"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the purchase","schema":{"type":"integer","format":"uint64"}},{"name":"immediate","in":"query","required":false,"description":"Cancel immediately without grace period","schema":{"type":"boolean"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Successfully removed member from plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseResponse"}}}},"404":{"description":"Purchase not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Cannot remove member from plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/posts":{"get":{"summary":"Returns a list of posts for the current network","operationId":"list_posts","tags":["Posts"],"parameters":[{"name":"space_id","in":"query","required":false,"description":"Filter posts by space ID","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of posts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostResponsePaged"}}}}}},"post":{"summary":"Create a new post, and optionally notify the network","operationId":"create_posts","tags":["Posts"],"parameters":[{"name":"notify","in":"query","required":false,"description":"Whether or not to notify the network","schema":{"type":"boolean"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostRequest"}}}},"responses":{"201":{"description":"Returns the newly created post on success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostResponse"}}}},"404":{"description":"Space not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid post data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/posts/{id}/":{"get":{"summary":"Query details of a specific post by its ID","operationId":"show_post","tags":["Posts"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the post to fetch","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Details about the requested post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostResponse"}}}},"404":{"description":"Post not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Update an existing post or article","operationId":"update_posts","tags":["Posts"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the post to update","schema":{"type":"integer","format":"uint64"}},{"name":"notify","in":"query","required":false,"description":"Whether or not to notify the network","schema":{"type":"boolean"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request to update a post or article","type":"object","properties":{"title":{"type":"string","description":"The title of the post"},"description":{"type":"string","description":"The description/body content of the post"}}}}}},"responses":{"200":{"description":"Returns the updated post on success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostResponse"}}}},"404":{"description":"Post not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid post data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update an existing post or article","operationId":"replace_posts","tags":["Posts"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the post to update","schema":{"type":"integer","format":"uint64"}},{"name":"notify","in":"query","required":false,"description":"Whether or not to notify the network","schema":{"type":"boolean"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostUpdateRequest"}}}},"responses":{"200":{"description":"Returns the updated post on success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostResponse"}}}},"404":{"description":"Post not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid post data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete a post or article","operationId":"delete_posts","tags":["Posts"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the post to delete","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Post successfully deleted"},"404":{"description":"Post not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/polls":{"get":{"summary":"Returns a paginated list of polls and questions in the network","operationId":"list_polls","tags":["Polls"],"parameters":[{"name":"space_id","in":"query","required":false,"description":"Filter polls by space ID","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Returns a paginated list of polls and questions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollResponsePaged"}}}}}},"post":{"summary":"Creates a new poll or question in the network","operationId":"create_polls","tags":["Polls"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollRequest"}}}},"responses":{"201":{"description":"Returns the created poll or question","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollResponse"}}}},"404":{"description":"Space not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/polls/{id}/":{"get":{"summary":"Returns details of a specific poll or question","operationId":"show_poll","tags":["Polls"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the poll or question","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Returns the poll or question details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollResponse"}}}},"404":{"description":"Poll or question not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Updates a poll or question","operationId":"update_polls","tags":["Polls"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the poll or question","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request to update a poll or question","type":"object","properties":{"title":{"type":"string","description":"The poll question/title"},"description":{"type":"string","description":"Additional details or context for the poll"}}}}}},"responses":{"200":{"description":"Returns the updated poll or question","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollResponse"}}}},"404":{"description":"Poll or question not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Updates a poll or question","operationId":"replace_polls","tags":["Polls"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the poll or question","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollUpdateRequest"}}}},"responses":{"200":{"description":"Returns the updated poll or question","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollResponse"}}}},"404":{"description":"Poll or question not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Deletes a poll or question","operationId":"delete_polls","tags":["Polls"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the poll or question","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Poll or question successfully deleted"},"404":{"description":"Poll or question not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/plans":{"get":{"summary":"Return all plans in the network","operationId":"list_plans","tags":["Plans"],"parameters":[{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of plan objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanResponsePaged"}}}}}}},"/admin/v1/networks/{network_id}/plans/{id}/":{"get":{"summary":"Return a single plan by ID","operationId":"show_plan","tags":["Plans"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the plan to retrieve","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A plan object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanResponse"}}}},"404":{"description":"Plan not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Archive a plan. This will cancel all associated subscriptions and revoke access.","operationId":"delete_plans","tags":["Plans"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the plan to archive","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Plan successfully archived"},"404":{"description":"Plan not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Cannot archive plan (may contain active Apple products)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/plans/{plan_id}/members/{id}/":{"delete":{"summary":"Remove a member from a plan by canceling their subscription or purchase","operationId":"delete_plans","tags":["Plans"],"parameters":[{"name":"plan_id","in":"path","required":true,"description":"The ID of the plan","schema":{"type":"integer","format":"uint64"}},{"name":"id","in":"path","required":true,"description":"The ID of the member (user) to remove","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Successfully removed member from plan"},"404":{"description":"Plan or member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unable to remove member (may not have access to this plan)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/":{"get":{"summary":"Returns details of the Network - must match the Network owning the requesting API key","operationId":"show_network","tags":["Networks"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Returns the Networks attributes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkResponse"}}}}}}},"/admin/v1/networks/{network_id}/members":{"get":{"summary":"Return members of the given network","operationId":"list_members","tags":["Members"],"parameters":[{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of member objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponsePaged"}}}}}},"post":{"summary":"Create a new member in the network","operationId":"create_members","tags":["Members"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberCreateRequest"}}}},"responses":{"201":{"description":"The newly created member object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"422":{"description":"Validation error (e.g., invalid role, invalid member_type, unknown space, user already a member)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/members/{id}/":{"get":{"summary":"Return a single member by ID","operationId":"show_member","tags":["Members"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A member object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Update a member's role in the network","operationId":"update_members","tags":["Members"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request body for updating a member's role and profile information","type":"object","properties":{"role":{"type":"string","description":"New role for the member (host, moderator, contributor)","example":"moderator"},"email":{"type":"string","format":"email","description":"New email address for the member","example":"newemail@example.com"},"first_name":{"type":"string","description":"New first name for the member","example":"Jane"},"last_name":{"type":"string","description":"New last name for the member","example":"Smith"}}}}}},"responses":{"200":{"description":"The updated member object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid role value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update a member's role in the network","operationId":"replace_members","tags":["Members"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberUpdateRequest"}}}},"responses":{"200":{"description":"The updated member object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid role value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete a member's account (soft delete)","operationId":"delete_members","tags":["Members"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Member successfully deleted"},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Member cannot be deleted (e.g., owns spaces that cannot be deleted)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/members/by_email":{"get":{"summary":"Return a single member by email address","operationId":"show_member","tags":["Members"],"parameters":[{"name":"email","in":"query","required":true,"description":"Email address of the member","schema":{"type":"string","format":"email"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A member object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/members/{id}/network_membership":{"delete":{"summary":"Remove a member from the network (can rejoin)","operationId":"delete_members","tags":["Members"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the member","schema":{"type":"integer","format":"uint64"}},{"name":"cancel_plans","in":"query","required":false,"description":"Whether to also cancel the member's purchased plans","schema":{"type":"boolean"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Member successfully removed from network"},"404":{"description":"Member not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/me":{"get":{"summary":"Return information about the authenticated access token","operationId":"show_me","tags":["Me"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Returns a description of the currently authenticated user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeResponse"}}}}}}},"/admin/v1/networks/{network_id}/invites":{"get":{"summary":"Returns a list of invitations for the current network","operationId":"list_invites","tags":["Invites"],"parameters":[{"name":"email","in":"query","required":false,"description":"Filter invites by recipient email address","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of invites","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteResponsePaged"}}}}}},"post":{"summary":"Create a new invite and send an email to the intended recipient","operationId":"create_invites","tags":["Invites"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteRequest"}}}},"responses":{"200":{"description":"Returns the newly created invite on success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteResponse"}}}},"422":{"description":"Validation error (e.g., invalid email, user already invited)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/invites/{id}/":{"patch":{"summary":"Update an invite","operationId":"update_invites","tags":["Invites"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the invite to update","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Invites allow users and admins to invite new users to the network","type":"object","properties":{"recipient_email":{"type":"string","description":"The recipients email address","example":"claude@example.com"},"recipient_first_name":{"type":"string","description":"The recipient's first name","example":"Claude"},"recipient_last_name":{"type":"string","description":"The recipient's last name","example":"Monet"},"user_id":{"type":"integer","format":"uint64","description":"The ID of the user to record as the creator of the invite.\n\nIf not provided, defaults to the owner of the authored API key.\n"}}}}}},"responses":{"200":{"description":"Updates an invite and returns its new state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteResponse"}}}}}},"put":{"summary":"Update an invite","operationId":"replace_invites","tags":["Invites"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the invite to update","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteRequest"}}}},"responses":{"200":{"description":"Updates an invite and returns its new state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteResponse"}}}}}},"delete":{"summary":"Delete an unaccepted invite","operationId":"delete_invites","tags":["Invites"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the invite to update","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Returns a 204 No-Content on success, with no response body"},"404":{"description":"Invite not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Returns a 409 Conflict when the invite has already been accepted.\n\nTo revoke access to an invited member, use the Membership API\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/events":{"get":{"summary":"Returns a paginated list of events in the network","operationId":"list_events","tags":["Events"],"parameters":[{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Returns a paginated list of events","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponsePaged"}}}}}},"post":{"summary":"Creates a new event in the network","operationId":"create_events","tags":["Events"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCreateRequest"}}}},"responses":{"200":{"description":"Returns the created event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/events/{id}/":{"get":{"summary":"Returns details of a specific event","operationId":"show_event","tags":["Events"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the event","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"Returns the event details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"404":{"description":"Event not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Updates an existing event","operationId":"update_events","tags":["Events"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the event","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request body for updating an event","type":"object","properties":{"title":{"type":"string","description":"The event title","example":"Monthly Community Meetup"},"description":{"type":"string","description":"The event description","example":"Join us for our monthly community meetup"},"link":{"type":"string","description":"External event link URL","example":"https://zoom.us/j/123456789"},"starts_at":{"type":"string","format":"date-time","description":"The date and time the event starts (ISO8601 format)","example":"2025-01-15T14:00:00Z"},"ends_at":{"type":"string","format":"date-time","description":"The date and time the event ends (ISO8601 format)","example":"2025-01-15T16:00:00Z"},"event_type":{"type":"string","description":"Type of event: 'online_meeting', 'local_meetup', etc.","example":"online_meeting"},"location":{"type":"string","description":"Physical location of the event","example":"San Francisco, CA"},"time_zone":{"type":"string","description":"IANA timezone identifier for the event","example":"America/Los_Angeles"},"rsvp_enabled":{"type":"boolean","description":"Whether RSVPs are enabled (default: true)","example":true},"rsvp_closed":{"type":"boolean","description":"Whether RSVPs are closed (default: false)"},"restricted_event":{"type":"boolean","description":"Whether event is restricted to specific members (default: false)"},"post_in_feed":{"type":"boolean","description":"Whether event appears in the activity feed (default: true)","example":true},"frequency":{"type":"string","description":"Recurrence frequency: 'daily', 'weekly', 'monthly', or 'yearly'","example":"weekly"},"interval":{"type":"integer","format":"uint64","description":"Recurrence interval (e.g., 1 for every week, 2 for every 2 weeks)","example":1},"by_days":{"type":"string","description":"Comma-separated list of recurrence day abbreviations (SU/MO/TU/WE/TH/FR/SA)","example":"MO,WE,FR"},"by_month_days":{"type":"string","description":"Comma-separated list of Nth day-of-the-month for recurrence","example":"1,15"},"recurrence_count":{"type":"integer","format":"uint64","description":"How many times the event should recur"},"recur_until":{"type":"string","format":"date-time","description":"End date for recurrence","example":"2026-07-05T21:11:42+00:00"}}}}}},"responses":{"200":{"description":"Returns the updated event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"404":{"description":"Event not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Updates an existing event","operationId":"replace_events","tags":["Events"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the event","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventUpdateRequest"}}}},"responses":{"200":{"description":"Returns the updated event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"404":{"description":"Event not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Deletes an event","operationId":"delete_events","tags":["Events"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the event","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Event successfully deleted"},"404":{"description":"Event not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/custom_fields":{"get":{"summary":"Return custom fields of the given network","operationId":"list_custom_fields","tags":["CustomFields"],"parameters":[{"name":"response_type","in":"query","required":false,"description":"Filter by response type. Valid values: tag, badge, dropdown_single_select, dropdown_multi_select, text_short, text_long. Invalid values are ignored.","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of custom field objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldResponsePaged"}}}}}},"post":{"summary":"Create a new custom field","operationId":"create_custom_fields","tags":["CustomFields"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldRequest"}}}},"responses":{"201":{"description":"The created custom field object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/custom_fields/{id}/":{"get":{"summary":"Return a single custom field by ID","operationId":"show_custom_field","tags":["CustomFields"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A custom field object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldResponse"}}}},"404":{"description":"Custom field not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Update a custom field","operationId":"update_custom_fields","tags":["CustomFields"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request body for updating a custom field","type":"object","properties":{"title":{"type":"string","description":"The title of the custom field","example":"Favorite Color"},"description":{"type":"string","description":"Description of the custom field","example":"Select your favorite color"},"placeholder":{"type":"string","description":"Placeholder text for the custom field input","example":"Enter your answer here"},"status":{"type":"string","description":"Status of the custom field (visible, hidden, billing_disabled)","example":"visible"},"notify_all_members":{"type":"boolean","description":"Whether to notify all members when making the custom field visible"},"primary":{"type":"boolean","description":"Whether this is the primary custom field"}}}}}},"responses":{"200":{"description":"The updated custom field object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldResponse"}}}},"404":{"description":"Custom field not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Cannot modify non-host-creatable custom fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update a custom field","operationId":"replace_custom_fields","tags":["CustomFields"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldUpdateRequest"}}}},"responses":{"200":{"description":"The updated custom field object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldResponse"}}}},"404":{"description":"Custom field not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Cannot modify non-host-creatable custom fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete a custom field","operationId":"delete_custom_fields","tags":["CustomFields"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the custom field","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Custom field deleted successfully"},"404":{"description":"Custom field not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Cannot delete non-host-creatable custom fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/collections":{"get":{"summary":"Return all collections in the network","operationId":"list_collections","tags":["Collections"],"parameters":[{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of collection objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionResponsePaged"}}}}}},"post":{"summary":"Create a new collection","operationId":"create_collections","tags":["Collections"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionCreateRequest"}}}},"responses":{"201":{"description":"The created collection object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionResponse"}}}},"400":{"description":"Invalid request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error - e.g., max collections reached, name conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/collections/{id}/":{"get":{"summary":"Return a single collection by ID","operationId":"show_collection","tags":["Collections"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the collection","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A collection object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionResponse"}}}},"404":{"description":"Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Update a collection by its ID","operationId":"update_collections","tags":["Collections"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the collection to update","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request to update a collection","type":"object","properties":{"name":{"type":"string","description":"The collection's name","example":"Updated Collection"},"description":{"type":"string","description":"The collection's description","example":"Updated description"},"visible_to_members":{"type":"boolean","description":"Whether the collection is visible to members"}}}}}},"responses":{"200":{"description":"The updated collection object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionResponse"}}}},"400":{"description":"Invalid request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error - e.g., cannot update system collections, name conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update a collection by its ID","operationId":"replace_collections","tags":["Collections"],"parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the collection to update","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionUpdateRequest"}}}},"responses":{"200":{"description":"The updated collection object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionResponse"}}}},"400":{"description":"Invalid request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error - e.g., cannot update system collections, name conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete a collection","operationId":"delete_collections","tags":["Collections"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the collection","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Collection successfully deleted"},"404":{"description":"Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Cannot delete collection (e.g., collection still contains spaces)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/collections/{id}/order":{"put":{"summary":"Reorder spaces within a collection","operationId":"replace_collections","tags":["Collections"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the collection","schema":{"type":"integer","format":"uint64"}},{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionOrderRequest"}}}},"responses":{"200":{"description":"The updated list of spaces with their positions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionOrderItemResponsePaged"}}}},"400":{"description":"Invalid request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Collection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error - e.g., space not in collection, invalid position","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/badges":{"get":{"summary":"Return all badges for the network","operationId":"list_badges","tags":["Badges"],"parameters":[{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of badge objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeResponsePaged"}}}}}},"post":{"summary":"Create a new badge","operationId":"create_badges","tags":["Badges"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeRequest"}}}},"responses":{"201":{"description":"The created badge object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/badges/{id}/":{"get":{"summary":"Return a single badge by ID","operationId":"show_badge","tags":["Badges"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the badge","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A badge object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeResponse"}}}},"404":{"description":"Badge not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"summary":"Update a badge","operationId":"update_badges","tags":["Badges"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the badge","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"description":"Request to update a badge","type":"object","properties":{"title":{"type":"string","description":"The title of the badge","example":"Top Contributor"},"description":{"type":"string","description":"The description of the badge","example":"Awarded to active community members"},"color":{"type":"string","description":"The hex color code for the badge","example":"#FF5733"},"avatar_id":{"type":"integer","format":"uint64","description":"The ID of the asset to use as the badge image","example":12345}}}}}},"responses":{"200":{"description":"The updated badge object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeResponse"}}}},"404":{"description":"Badge not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"summary":"Update a badge","operationId":"replace_badges","tags":["Badges"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the badge","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit results as JSON","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeUpdateRequest"}}}},"responses":{"200":{"description":"The updated badge object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeResponse"}}}},"404":{"description":"Badge not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"summary":"Delete a badge","operationId":"delete_badges","tags":["Badges"],"parameters":[{"name":"id","in":"path","required":true,"description":"ID of the badge","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"204":{"description":"Badge deleted successfully"},"404":{"description":"Badge not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/assets":{"post":{"summary":"Upload a new asset (image or file)","operationId":"create_assets","tags":["Assets"],"parameters":[{"$ref":"#/components/parameters/networkId"}],"requestBody":{"description":"Submit as multipart/form-data","required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"asset_style":{"type":"string","description":"The style/purpose of the asset","enum":["avatar","avatar_suggestion","header_suggestion","avatar_dark_mode","thumbnail","square_thumbnail","bundle_description","landing_page_background","landing_page_video","customer_site_logo","space_avatar","space_description","brand_banner_on_color","brand_banner_on_white","brand_banner_dark_mode","background_image_banner","background_image_banner_fixed_ratio","post_description","landing_page_description","cover","post","comment","file","header","cinema_header","profile_prompt_answer","new_member_pitch","embedded_link","user_cover","video","course_video","live_mp4_recording","live_mp4_recording_backup","comment_video","ai_interaction","automation_action_image","landing_page_content","seo_image","voice_note"]},"asset_file":{"type":"string","format":"binary","description":"The file to upload"},"source_url":{"type":"string","format":"url","description":"URL to download asset from (alternative to asset_file)"},"input_type":{"type":"string","description":"Deprecated - do not use","deprecated":true},"original_aspect_ratio":{"type":"string","description":"Original aspect ratio of the asset"},"metadata":{"type":"object","description":"Additional metadata for the asset (e.g., is_main_image, is_video_image)"}}}}}},"responses":{"201":{"description":"The created asset object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetResponse"}}}},"400":{"description":"Invalid request - missing required parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing, invalid, expired, or revoked access token, or network mismatch","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/admin/v1/networks/{network_id}/abuse_reports":{"get":{"summary":"Returns a list of abuse reports for the current network","operationId":"list_abuse_reports","tags":["AbuseReports"],"parameters":[{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","format":"uint64"}},{"name":"per_page","in":"query","required":false,"description":"Items per page (max 100)","schema":{"type":"integer","format":"uint64"}},{"$ref":"#/components/parameters/networkId"}],"responses":{"200":{"description":"A paginated set of abuse report objects","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AbuseReportResponsePaged"}}}}}}}},"webhooks":{"RsvpUpdated":{"post":{"description":"Triggered when an RSVP status is updated for an event","x-mint":{"metadata":{"sidebarTitle":"RsvpUpdated","title":"RsvpUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/RsvpResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"RsvpDeleted":{"post":{"description":"Triggered when an RSVP is deleted for an event","x-mint":{"metadata":{"sidebarTitle":"RsvpDeleted","title":"RsvpDeleted"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/RsvpResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"RsvpCreated":{"post":{"description":"Triggered when an RSVP is created for an event","x-mint":{"metadata":{"sidebarTitle":"RsvpCreated","title":"RsvpCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/RsvpResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"ReportedContentCreated":{"post":{"description":"Triggered when content is reported (posts, comments, or chats)","x-mint":{"metadata":{"sidebarTitle":"ReportedContentCreated","title":"ReportedContentCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/ReportedContentCreatedPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"ReactionDeleted":{"post":{"description":"Triggered when a reaction is deleted by a member from a post or comment","x-mint":{"metadata":{"sidebarTitle":"ReactionDeleted","title":"ReactionDeleted"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/ReactionResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"ReactionCreated":{"post":{"description":"Triggered when a reaction is created by a member on a post or comment","x-mint":{"metadata":{"sidebarTitle":"ReactionCreated","title":"ReactionCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/ReactionResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"QuestionUpdated":{"post":{"description":"Triggered when a question is updated by a user, in a space","x-mint":{"metadata":{"sidebarTitle":"QuestionUpdated","title":"QuestionUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/PostResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"QuestionCreated":{"post":{"description":"Triggered when a question is created by a user, in a space","x-mint":{"metadata":{"sidebarTitle":"QuestionCreated","title":"QuestionCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/PostResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"PostUpdated":{"post":{"description":"Triggered when a post is updated by a user, in a space.","x-mint":{"metadata":{"sidebarTitle":"PostUpdated","title":"PostUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/PostResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"PostCreated":{"post":{"description":"Triggered when a post is created by a user, in a space.","x-mint":{"metadata":{"sidebarTitle":"PostCreated","title":"PostCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/PostResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"PercentagePollUpdated":{"post":{"description":"Triggered when a percentage poll is updated by a member, in a space","x-mint":{"metadata":{"sidebarTitle":"PercentagePollUpdated","title":"PercentagePollUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/PercentagePollCreatePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"PercentagePollCreated":{"post":{"description":"Triggered when a percentage poll is created by a member, in a space","x-mint":{"metadata":{"sidebarTitle":"PercentagePollCreated","title":"PercentagePollCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/PercentagePollCreatePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MultipleChoicePollUpdated":{"post":{"description":"Triggered when a multiple choice poll is updated by a member, in a space","x-mint":{"metadata":{"sidebarTitle":"MultipleChoicePollUpdated","title":"MultipleChoicePollUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MultipleChoicePollCreatePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MultipleChoicePollCreated":{"post":{"description":"Triggered when a multiple choice poll is created by a member, in a space","x-mint":{"metadata":{"sidebarTitle":"MultipleChoicePollCreated","title":"MultipleChoicePollCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MultipleChoicePollCreatePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberUpdated":{"post":{"description":"Triggered when a member updates their profile","x-mint":{"metadata":{"sidebarTitle":"MemberUpdated","title":"MemberUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberUpdatePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberTagRemoved":{"post":{"description":"Triggered when a tag is removed from a member","x-mint":{"metadata":{"sidebarTitle":"MemberTagRemoved","title":"MemberTagRemoved"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberTagRemovePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberTagAdded":{"post":{"description":"Triggered when a tag is added to a member","x-mint":{"metadata":{"sidebarTitle":"MemberTagAdded","title":"MemberTagAdded"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberTagAddPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberSubscriptionRenewed":{"post":{"description":"Triggered when a member's subscription is renewed","x-mint":{"metadata":{"sidebarTitle":"MemberSubscriptionRenewed","title":"MemberSubscriptionRenewed"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/SubscriptionResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberSubscriptionCanceled":{"post":{"description":"Triggered when a member cancels their subscription","x-mint":{"metadata":{"sidebarTitle":"MemberSubscriptionCanceled","title":"MemberSubscriptionCanceled"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/SubscriptionResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberRemovedFromPlan":{"post":{"description":"Triggered when a member is removed from a plan","x-mint":{"metadata":{"sidebarTitle":"MemberRemovedFromPlan","title":"MemberRemovedFromPlan"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/SubscriptionResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberPurchased":{"post":{"description":"Triggered when a member purchases a plan","x-mint":{"metadata":{"sidebarTitle":"MemberPurchased","title":"MemberPurchased"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/PurchaseResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberPurchaseRequested":{"post":{"description":"Triggered when a member requests to purchase a plan","x-mint":{"metadata":{"sidebarTitle":"MemberPurchaseRequested","title":"MemberPurchaseRequested"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/InviteRequestRequest"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberPlanChanged":{"post":{"description":"Triggered when a member changes their subscription plan (upgrade or downgrade)","x-mint":{"metadata":{"sidebarTitle":"MemberPlanChanged","title":"MemberPlanChanged"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/SubscriptionResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberLeft":{"post":{"description":"Triggered when a member leaves a space","x-mint":{"metadata":{"sidebarTitle":"MemberLeft","title":"MemberLeft"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberLeavePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberJoined":{"post":{"description":"Triggered when a member joins a space","x-mint":{"metadata":{"sidebarTitle":"MemberJoined","title":"MemberJoined"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberJoinPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberJoinRequested":{"post":{"description":"Triggered when a member requests an invitation to a space","x-mint":{"metadata":{"sidebarTitle":"MemberJoinRequested","title":"MemberJoinRequested"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberJoinRequestPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberCourseProgressUpdated":{"post":{"description":"Triggered when a member updates their progress in a course","x-mint":{"metadata":{"sidebarTitle":"MemberCourseProgressUpdated","title":"MemberCourseProgressUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberCourseProgressUpdatePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberCourseProgressStarted":{"post":{"description":"Triggered when a member starts a course","x-mint":{"metadata":{"sidebarTitle":"MemberCourseProgressStarted","title":"MemberCourseProgressStarted"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberCourseProgressStartPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberCourseProgressCompleted":{"post":{"description":"Triggered when a member completes a course","x-mint":{"metadata":{"sidebarTitle":"MemberCourseProgressCompleted","title":"MemberCourseProgressCompleted"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberCourseProgressCompletePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberBadgeRemoved":{"post":{"description":"Triggered when a badge is removed from a member","x-mint":{"metadata":{"sidebarTitle":"MemberBadgeRemoved","title":"MemberBadgeRemoved"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberBadgeRemovePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberBadgeAdded":{"post":{"description":"Triggered when a badge is added to a member","x-mint":{"metadata":{"sidebarTitle":"MemberBadgeAdded","title":"MemberBadgeAdded"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberBadgeAddPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"MemberAmbassadorLeveledUp":{"post":{"description":"Triggered when a member reaches a new ambassador level","x-mint":{"metadata":{"sidebarTitle":"MemberAmbassadorLeveledUp","title":"MemberAmbassadorLeveledUp"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/MemberAmbassadorLevelUpPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"InviteRequested":{"post":{"description":"Triggered when a member requests an invitation to a space","x-mint":{"metadata":{"sidebarTitle":"InviteRequested","title":"InviteRequested"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/InviteRequestRequest"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"HotColdPollUpdated":{"post":{"description":"Triggered when a hot/cold poll is updated by a member, in a space","x-mint":{"metadata":{"sidebarTitle":"HotColdPollUpdated","title":"HotColdPollUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/HotColdPollCreatePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"HotColdPollCreated":{"post":{"description":"Triggered when a hot/cold poll is created by a member, in a space","x-mint":{"metadata":{"sidebarTitle":"HotColdPollCreated","title":"HotColdPollCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/HotColdPollCreatePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"GiftLeaderboardUpdated":{"post":{"description":"Triggered when a gift leaderboard is updated for a network","x-mint":{"metadata":{"sidebarTitle":"GiftLeaderboardUpdated","title":"GiftLeaderboardUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/GiftLeaderboardUpdatedPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"EventUpdated":{"post":{"description":"Triggered when an event is updated by a user in a space","x-mint":{"metadata":{"sidebarTitle":"EventUpdated","title":"EventUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/EventCreatePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"EventCreated":{"post":{"description":"Triggered when an event is scheduled by a user in a space","x-mint":{"metadata":{"sidebarTitle":"EventCreated","title":"EventCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/EventCreatePayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"CustomFieldResponseUpdated":{"post":{"description":"Triggered when a member updates their custom field response","x-mint":{"metadata":{"sidebarTitle":"CustomFieldResponseUpdated","title":"CustomFieldResponseUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/CustomFieldResponseUpdatedPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"CustomFieldResponseRemoved":{"post":{"description":"Triggered when a member removes a custom field response","x-mint":{"metadata":{"sidebarTitle":"CustomFieldResponseRemoved","title":"CustomFieldResponseRemoved"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/CustomFieldResponseRemovedPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"CustomFieldResponseCreated":{"post":{"description":"Triggered when a member creates a custom field response","x-mint":{"metadata":{"sidebarTitle":"CustomFieldResponseCreated","title":"CustomFieldResponseCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/CustomFieldResponseCreatedPayload"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"CommentCreated":{"post":{"description":"Triggered when a comment is created by a user, on a post or other commentable content.","x-mint":{"metadata":{"sidebarTitle":"CommentCreated","title":"CommentCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/CommentResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"ArticleUpdated":{"post":{"description":"Triggered when an article is updated by a user, in a space","x-mint":{"metadata":{"sidebarTitle":"ArticleUpdated","title":"ArticleUpdated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/PostResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}},"ArticleCreated":{"post":{"description":"Triggered when an article is created by a user, in a space","x-mint":{"metadata":{"sidebarTitle":"ArticleCreated","title":"ArticleCreated"}},"tags":["Webhooks"],"requestBody":{"description":"Webhook payload","content":{"application/json":{"schema":{"required":["event_id","event_timestamp","payload"],"properties":{"event_id":{"type":"string","format":"uuid"},"event_timestamp":{"type":"string","format":"datetime"},"payload":{"$ref":"#/components/schemas/PostResponse"}}}}}},"responses":{"200":{"description":"Return any 2xx status to indicate that the payload has been successfully received.\n\nAny other response will cause the webhook to retry up to 5 times, over a period of several hours.\n"}}}}},"components":{"schemas":{"ReportedContentResponse":{"description":"A report of content (post, comment, or chat) that violates community guidelines","type":"object","required":["blacklist_type","created_at","id","network_id","space_id","targetable_id","targetable_type","updated_at","user_id"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:43+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:43+00:00"},"user_id":{"type":"integer","format":"uint64","description":"The ID of the user who reported the content"},"targetable_id":{"type":"integer","format":"uint64","description":"The ID of the reported content"},"targetable_type":{"type":"string","description":"The type of content being reported (Post, Comment, Chat)"},"blacklist_type":{"type":"string","description":"The type of report (spam, offensive, other, not_interesting)"},"reason":{"type":"string","description":"The reason provided by the reporter"},"space_id":{"type":"integer","format":"uint64","description":"The ID of the space where the report was made"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"}}},"ReportedContentCreatedPayload":{"description":"Payload sent when content is reported","type":"object","required":["reported_content"],"properties":{"reported_content":{"description":"The report that was created","$ref":"#/components/schemas/ReportedContentResponse"}}},"PercentagePollCreatePayload":{"description":"Payload sent when a percentage poll is created","type":"object","required":["created_at","creator","id","permalink","post_type","space","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:43+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:43+00:00"},"post_type":{"type":"string","description":"The type of post","example":"percentage_poll"},"title":{"type":"string","description":"The poll question/title"},"creator":{"description":"The member who created the poll","$ref":"#/components/schemas/UserResponse"},"space":{"description":"The space where the poll was created","$ref":"#/components/schemas/SpaceResponse"},"images":{"type":"array","description":"Array of image URLs associated with the poll","items":{"type":"string"}},"permalink":{"type":"string","description":"The permanent URL to the poll"}}},"NetworkMemberResponse":{"type":"object","required":["created_at","id","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:43+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:43+00:00"}}},"MultipleChoicePollCreatePayload":{"description":"Payload sent when a multiple choice poll is created","type":"object","required":["choices","created_at","creator","id","permalink","post_type","space","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:43+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:43+00:00"},"post_type":{"type":"string","description":"The type of post","example":"multiple_choice_poll"},"title":{"type":"string","description":"The poll question/title"},"creator":{"description":"The member who created the poll","$ref":"#/components/schemas/UserResponse"},"space":{"description":"The space where the poll was created","$ref":"#/components/schemas/SpaceResponse"},"images":{"type":"array","description":"Array of image URLs associated with the poll","items":{"type":"string"}},"permalink":{"type":"string","description":"The permanent URL to the poll"},"choices":{"type":"array","description":"The poll choices","items":{"$ref":"#/components/schemas/PollChoiceResponse"}},"choice_1":{"description":"First poll choice","$ref":"#/components/schemas/PollChoiceResponse"},"choice_2":{"description":"Second poll choice","$ref":"#/components/schemas/PollChoiceResponse"},"choice_3":{"description":"Third poll choice","$ref":"#/components/schemas/PollChoiceResponse"},"choice_4":{"description":"Fourth poll choice","$ref":"#/components/schemas/PollChoiceResponse"},"choice_5":{"description":"Fifth poll choice","$ref":"#/components/schemas/PollChoiceResponse"}}},"MemberUpdatePayload":{"description":"Payload sent when a member updates their profile","type":"object","required":["member","network_id"],"properties":{"member":{"description":"The member who was updated","$ref":"#/components/schemas/MemberResponse"},"space_id":{"type":"integer","format":"uint64","description":"The ID of the space (null for network-level updates)"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"}}},"MemberTagRemovePayload":{"description":"Payload sent when a tag is removed from a member","type":"object","required":["member","network_id","tag"],"properties":{"member":{"description":"The member who lost the tag","$ref":"#/components/schemas/MemberResponse"},"tag":{"description":"The tag that was removed","$ref":"#/components/schemas/TagResponse"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"}}},"MemberTagAddPayload":{"description":"Payload sent when a tag is added to a member","type":"object","required":["member","network_id","tag"],"properties":{"member":{"description":"The member who received the tag","$ref":"#/components/schemas/MemberResponse"},"tag":{"description":"The tag that was added","$ref":"#/components/schemas/TagResponse"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"}}},"MemberLeavePayload":{"description":"Payload sent when a member leaves a space","type":"object","required":["member","network_id","space_id"],"properties":{"member":{"description":"The member who left","$ref":"#/components/schemas/MemberResponse"},"space_id":{"type":"integer","format":"uint64","description":"The ID of the space the member left"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"}}},"MemberJoinRequestPayload":{"description":"Payload sent when someone requests an invitation to join a space","type":"object","required":["created_at","id"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"When the join request was created","example":"2026-07-05T21:11:42+00:00"},"email":{"type":"string","format":"email","description":"The requester's email address","example":"ada.lovelace@example.com"},"first_name":{"type":"string","description":"The requester's first name"},"last_name":{"type":"string","description":"The requester's last name"},"space":{"description":"The space the member is requesting to join","$ref":"#/components/schemas/SpaceResponse"}}},"MemberJoinPayload":{"description":"Payload sent when a member joins a space","type":"object","required":["member","network_id","space_id"],"properties":{"member":{"description":"The member who joined","$ref":"#/components/schemas/MemberResponse"},"space_id":{"type":"integer","format":"uint64","description":"The ID of the space the member joined"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"}}},"MemberCourseProgressUpdatePayload":{"description":"Payload sent when a member updates their progress in a course","type":"object","required":["course","member"],"properties":{"member":{"description":"The member who updated course progress","$ref":"#/components/schemas/MemberResponse"},"course":{"description":"The course space","$ref":"#/components/schemas/SpaceResponse"},"progress_percent":{"type":"integer","format":"uint64","description":"The member's overall course progress percentage (0-100)"}}},"MemberCourseProgressStartPayload":{"description":"Payload sent when a member starts a course","type":"object","required":["course","member"],"properties":{"member":{"description":"The member who started the course","$ref":"#/components/schemas/MemberResponse"},"course":{"description":"The course space","$ref":"#/components/schemas/SpaceResponse"},"progress_percent":{"type":"integer","format":"uint64","description":"The member's overall course progress percentage (0-100)"}}},"MemberCourseProgressCompletePayload":{"description":"Payload sent when a member completes a course","type":"object","required":["course","member"],"properties":{"member":{"description":"The member who completed the course","$ref":"#/components/schemas/MemberResponse"},"course":{"description":"The course space","$ref":"#/components/schemas/SpaceResponse"},"progress_percent":{"type":"integer","format":"uint64","description":"The member's overall course progress percentage (0-100)"}}},"MemberBadgeRemovePayload":{"description":"Payload sent when a badge is removed from a member","type":"object","required":["badge","member","network_id"],"properties":{"member":{"description":"The member who lost the badge","$ref":"#/components/schemas/MemberResponse"},"badge":{"description":"The badge that was removed","$ref":"#/components/schemas/BadgeResponse"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"}}},"MemberBadgeAddPayload":{"description":"Payload sent when a badge is added to a member","type":"object","required":["badge","member","network_id"],"properties":{"member":{"description":"The member who received the badge","$ref":"#/components/schemas/MemberResponse"},"badge":{"description":"The badge that was added","$ref":"#/components/schemas/BadgeResponse"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"}}},"MemberAmbassadorLevelUpPayload":{"description":"Payload sent when a member reaches a new ambassador level","type":"object","required":["ambassador_level_id","ambassador_level_name","member","network_id","referral_count"],"properties":{"member":{"description":"The member who leveled up","$ref":"#/components/schemas/MemberResponse"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"},"ambassador_level_id":{"type":"integer","format":"uint64","description":"The new ambassador level ID (1=Bronze, 2=Silver, 3=Gold)"},"ambassador_level_name":{"type":"string","description":"The name of the new ambassador level"},"referral_count":{"type":"integer","format":"uint64","description":"The member's total referral count"}}},"InviteRequestRequest":{"description":"A request to be invited to a space","type":"object","required":["created_at","id","member_email","network_id","status","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:43+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:43+00:00"},"network_id":{"type":"integer","format":"uint64","description":"ID of the network"},"space_id":{"type":"integer","format":"uint64","description":"ID of the space (if applicable)"},"plan_id":{"type":"integer","format":"uint64","description":"ID of the plan (if applicable)"},"member_id":{"type":"integer","format":"uint64","description":"ID of the member making the request (if logged in)"},"member_email":{"type":"string","format":"email","description":"Email of the member","example":"ada.lovelace@example.com"},"member_first_name":{"type":"string","description":"Member's first name"},"member_last_name":{"type":"string","description":"Member's last name"},"member_location":{"type":"string","description":"Member's location"},"member_avatar":{"type":"string","description":"URL to the member's avatar image"},"status":{"type":"string","description":"Status of the invite request (pending, approved, rejected, invalid)"},"referred_by_user_id":{"type":"integer","format":"uint64","description":"ID of the user who referred this member"}}},"HotColdPollCreatePayload":{"description":"Payload sent when a hot/cold poll is created","type":"object","required":["created_at","creator","id","permalink","post_type","space","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:43+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:43+00:00"},"post_type":{"type":"string","description":"The type of post","example":"hot_cold_poll"},"title":{"type":"string","description":"The poll question/title"},"creator":{"description":"The member who created the poll","$ref":"#/components/schemas/UserResponse"},"space":{"description":"The space where the poll was created","$ref":"#/components/schemas/SpaceResponse"},"images":{"type":"array","description":"Array of image URLs associated with the poll","items":{"type":"string"}},"permalink":{"type":"string","description":"The permanent URL to the poll"}}},"GiftLeaderboardUpdatedPayload":{"description":"Payload sent when a gift leaderboard is updated for a network","type":"object","required":["entries","network_id","recalculated_at","type"],"properties":{"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"},"recalculated_at":{"type":"string","format":"date-time","description":"When the leaderboard was recalculated","example":"2026-07-05T21:11:42+00:00"},"type":{"type":"string","description":"The leaderboard type: received or sent","enum":["received","sent"]},"gift_definition":{"description":"The gift definition for per-definition leaderboards","$ref":"#/components/schemas/GiftDefinitionResponse"},"entries":{"description":"Entries grouped by aggregation period","$ref":"#/components/schemas/GiftLeaderboardEntriesByPeriodResponse"}}},"GiftLeaderboardEntryResponse":{"description":"A single ranked entry in a gift leaderboard","type":"object","required":["count","member","rank"],"properties":{"rank":{"type":"integer","format":"uint64","description":"1-indexed position on the leaderboard"},"member":{"description":"The member for this entry","$ref":"#/components/schemas/MemberResponse"},"count":{"type":"integer","format":"uint64","description":"Gift count for the corresponding period"}}},"GiftLeaderboardEntriesByPeriodResponse":{"description":"Gift leaderboard entries grouped by aggregation period","type":"object","required":["all_time"],"properties":{"all_time":{"type":"array","description":"All-time ranked entries","items":{"$ref":"#/components/schemas/GiftLeaderboardEntryResponse"}}}},"GiftDefinitionResponse":{"description":"A gift definition in a network","type":"object","required":["id","name"],"properties":{"id":{"type":"integer","format":"uint64","description":"The gift definition ID"},"name":{"type":"string","description":"The name of the gift definition"}}},"CustomFieldResponseUpdatedPayload":{"description":"Payload sent when a member updates their custom field response","type":"object","required":["custom_field","member","network_id"],"properties":{"member":{"description":"The member who updated their response","$ref":"#/components/schemas/MemberResponse"},"custom_field":{"description":"The custom field that was updated","$ref":"#/components/schemas/CustomFieldResponse"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"},"previous_text":{"type":"string","description":"Previous text value (for text-based custom fields)"},"new_text":{"type":"string","description":"New text value (for text-based custom fields)"},"previous_segments":{"type":"array","description":"Previous segments (for dropdown custom fields)","items":{"$ref":"#/components/schemas/SegmentResponse"}},"new_segments":{"type":"array","description":"New segments (for dropdown custom fields)","items":{"$ref":"#/components/schemas/SegmentResponse"}}}},"CustomFieldResponseRemovedPayload":{"description":"Payload sent when a member removes a custom field response","type":"object","required":["custom_field","member","network_id"],"properties":{"member":{"description":"The member who removed the response","$ref":"#/components/schemas/MemberResponse"},"custom_field":{"description":"The custom field that lost a response","$ref":"#/components/schemas/CustomFieldResponse"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"},"text":{"type":"string","description":"Text value that was removed (for text-based custom fields)"},"segments":{"type":"array","description":"Segments that were removed (for dropdown custom fields)","items":{"$ref":"#/components/schemas/SegmentResponse"}}}},"CustomFieldResponseCreatedPayload":{"description":"Payload sent when a member creates a custom field response","type":"object","required":["custom_field","member","network_id"],"properties":{"member":{"description":"The member who created the response","$ref":"#/components/schemas/MemberResponse"},"custom_field":{"description":"The custom field that received a response","$ref":"#/components/schemas/CustomFieldResponse"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"},"text":{"type":"string","description":"Text value (for text-based custom fields)"},"segments":{"type":"array","description":"Segments (for dropdown custom fields)","items":{"$ref":"#/components/schemas/SegmentResponse"}}}},"BanRequest":{"description":"Request body for banning a user from the network","type":"object","required":[],"properties":{"ban_reason":{"type":"string","description":"The reason for banning the user","example":"Spam"}}},"EmptyResponse":{"description":"Empty response body","type":"object","required":[],"properties":{}},"CourseworkUpdateRequest":{"description":"Update fields for a coursework item","type":"object","required":[],"properties":{"title":{"type":"string","description":"The title of the coursework item"},"description":{"type":"string","description":"The description/body content of the coursework item"},"status":{"type":"string","description":"The visibility status (posted, hidden, pending)"},"parent_id":{"type":"integer","format":"uint64","description":"Move to a new parent coursework item (section or overview)"},"completion_criteria":{"type":"string","description":"How completion is tracked (none, visited, button, video, minimum_correct_percentage)"},"unlocking_criteria":{"type":"string","description":"When content becomes available (none, sequential, time_from_course_join, scheduled_date)"}}},"CourseworkRequest":{"description":"Coursework items (lessons, quizzes, sections) within a course","type":"object","required":["type"],"properties":{"type":{"type":"string","description":"The type of coursework to create (lesson, quiz, or section)"},"parent_id":{"type":"integer","format":"uint64","description":"The ID of the parent coursework item (section or overview). If omitted, defaults to course overview"},"title":{"type":"string","description":"The title of the coursework item"},"description":{"type":"string","description":"The description/body content of the coursework item"},"status":{"type":"string","description":"The visibility status (posted, hidden, pending). Defaults to hidden"},"completion_criteria":{"type":"string","description":"How completion is tracked (none, visited, button, video, minimum_correct_percentage)"},"unlocking_criteria":{"type":"string","description":"When content becomes available (none, sequential, time_from_course_join, scheduled_date)"}}},"CourseworkResponse":{"description":"Coursework items (lessons, quizzes, sections) within a course","type":"object","required":["children_count","completion_criteria","created_at","id","permalink","position","space_id","status","title","type","unlocking_criteria","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"space_id":{"type":"integer","format":"uint64","description":"The ID of the course (space) this coursework belongs to"},"type":{"type":"string","description":"The type of coursework (lesson, quiz, section, or overview)"},"parent_id":{"type":"integer","format":"uint64","description":"The ID of the parent coursework item (section or overview)"},"parent_type":{"type":"string","description":"The type of the parent (section or overview)"},"title":{"type":"string","description":"The title of the coursework item"},"description":{"type":"string","description":"The description/body content of the coursework item"},"status":{"type":"string","description":"The visibility status (posted, hidden, pending)"},"position":{"type":"integer","format":"uint64","description":"The position within siblings (for ordering)"},"completion_criteria":{"type":"string","description":"How completion is tracked"},"unlocking_criteria":{"type":"string","description":"When content becomes available"},"children_count":{"type":"integer","format":"uint64","description":"Number of direct children (for sections)"},"permalink":{"type":"string","format":"url","description":"The coursework item's unique address within the network"}}},"CommentRequest":{"description":"Comments are created by members on posts, chats, and other commentable content","type":"object","required":["text"],"properties":{"text":{"type":"string","description":"The comment text content"},"reply_to_id":{"type":"integer","format":"uint64","description":"The ID of the parent comment if this is a reply"}}},"EmbeddedLinkResponse":{"description":"Embedded link preview data for rich link previews","type":"object","required":["id","url"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"url":{"type":"string","format":"url","description":"The URL of the embedded link"},"title":{"type":"string","description":"The title of the linked content"},"description":{"type":"string","description":"Description of the linked content"},"favicon_url":{"type":"string","format":"url","description":"URL to the favicon of the linked site"}}},"CommentResponse":{"description":"Comments are created by users on posts, chats, and other commentable content","type":"object","required":["author_id","cheer_count","created_at","depth","id","permalink","reply_count","replyable","space_id","targetable_id","targetable_type","text","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"targetable_id":{"type":"integer","format":"uint64","description":"The ID of the item being commented on (e.g., post ID)"},"targetable_type":{"type":"string","description":"The type of item being commented on (e.g., 'Post')"},"text":{"type":"string","description":"The formatted comment text with HTML and links"},"replyable":{"type":"boolean","description":"Whether this comment can be replied to"},"depth":{"type":"integer","format":"uint64","description":"The nesting depth of this comment (1 for top-level, 2+ for replies)"},"cheer_count":{"type":"integer","format":"uint64","description":"The number of cheers (likes) this comment has received"},"reply_count":{"type":"integer","format":"uint64","description":"The number of replies to this comment"},"reply_to_id":{"type":"integer","format":"uint64","description":"The ID of the parent comment if this is a reply"},"author_id":{"type":"integer","format":"uint64","description":"The ID of the user who created the comment"},"space_id":{"type":"integer","format":"uint64","description":"The ID of the space where the comment was created"},"files":{"type":"array","description":"An array of file/asset objects attached to the comment","items":{"$ref":"#/components/schemas/AssetResponse"}},"embedded_link":{"description":"Embedded link preview data","$ref":"#/components/schemas/EmbeddedLinkResponse"},"permalink":{"type":"string","format":"url","description":"The comment's unique address within the network"}}},"MemberTagAddRequest":{"description":"Request to add a tag to a member","type":"object","required":["tag_id"],"properties":{"tag_id":{"type":"integer","format":"uint64","description":"The ID of the tag to add to the member","example":123}}},"MemberBadgeRequest":{"description":"Request to add a badge to a member","type":"object","required":["badge_id"],"properties":{"badge_id":{"type":"integer","format":"uint64","description":"The ID of the badge to add to the member","example":12345}}},"RsvpRequest":{"description":"Request to create or update an RSVP","type":"object","required":["member_id","status"],"properties":{"member_id":{"type":"integer","format":"uint64","description":"The ID of the member to RSVP on behalf of","example":123},"status":{"type":"string","description":"The RSVP status. Must be one of: yes, maybe, no","example":"yes"},"instance_at":{"type":"string","format":"date-time","description":"The specific event instance for recurring events (ISO8601 format)","example":"2025-03-15T14:00:00Z"}}},"EventInstanceResponse":{"description":"A specific instance of a recurring event","type":"object","required":["ends_at","instance_index","post_id","starts_at"],"properties":{"post_id":{"type":"integer","format":"uint64","description":"The ID of the recurring event post"},"starts_at":{"type":"string","format":"date-time","description":"Start time of this specific instance","example":"2026-07-05T21:11:42+00:00"},"ends_at":{"type":"string","format":"date-time","description":"End time of this specific instance","example":"2026-07-05T21:11:42+00:00"},"instance_index":{"type":"integer","format":"uint64","description":"The index of this instance in the recurrence series"}}},"EventCreatePayload":{"description":"Payload sent when an event is created","type":"object","required":["created_at","creator","creator_id","event_type","id","permalink","post_in_feed","post_type","restricted_event","rsvp_closed","rsvp_enabled","space","space_id","starts_at","summary","time_zone","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"post_type":{"type":"string","description":"The type of post (always 'event' for this hook)"},"space_id":{"type":"integer","format":"uint64","description":"The ID of the space where the event was created"},"creator_id":{"type":"integer","format":"uint64","description":"The ID of the user who created the event"},"title":{"type":"string","description":"The title of the event"},"summary":{"type":"string","description":"The description/summary of the event"},"event_type":{"type":"string","description":"The type of event. Possible values: local, live_chat, online_meeting, zoom_meeting, zoom_webinar, webinar, local_meetup"},"starts_at":{"type":"string","description":"Event start time in ISO 8601 format"},"ends_at":{"type":"string","description":"Event end time in ISO 8601 format"},"time_zone":{"type":"string","description":"The time zone of the event"},"location":{"type":"string","description":"The location of the event"},"frequency":{"type":"string","description":"Recurrence frequency: 'daily', 'weekly', 'monthly', or 'yearly'"},"interval":{"type":"integer","format":"uint64","description":"Recurrence interval (e.g., 1 for every week, 2 for every 2 weeks)"},"rsvp_enabled":{"type":"boolean","description":"Whether RSVPs are enabled for this event"},"rsvp_closed":{"type":"boolean","description":"Whether RSVPs are closed/locked"},"restricted_event":{"type":"boolean","description":"Whether the event is restricted"},"post_in_feed":{"type":"boolean","description":"Whether the event is visible in the feed"},"creator":{"description":"The member who created the event","$ref":"#/components/schemas/MemberResponse"},"space":{"description":"The space where the event was created","$ref":"#/components/schemas/SpaceResponse"},"images":{"type":"array","description":"Array of image URLs","items":{"type":"string"}},"permalink":{"type":"string","description":"Canonical URL to the event"}}},"RsvpResponse":{"description":"An RSVP for an event","type":"object","required":["event","id","member","status","updated"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"updated":{"type":"string","format":"date-time","description":"The last updated timestamp","example":"2026-07-05T21:11:42+00:00"},"status":{"type":"string","description":"The RSVP status: yes, maybe, or no"},"event":{"description":"The event being RSVPed to","$ref":"#/components/schemas/EventCreatePayload"},"member":{"description":"The member who set the RSVP","$ref":"#/components/schemas/MemberResponse"},"event_instance":{"description":"The specific event instance for recurring events","$ref":"#/components/schemas/EventInstanceResponse"}}},"CustomFieldOptionUpdateRequest":{"description":"Request body for updating a custom field option","type":"object","required":[],"properties":{"title":{"type":"string","description":"The title of the option","example":"Blue"},"description":{"type":"string","description":"Description of the option","example":"Select this if blue is your favorite color"}}},"CustomFieldOptionRequest":{"description":"Request body for creating a custom field option","type":"object","required":["title"],"properties":{"title":{"type":"string","description":"The title of the option","example":"Blue"},"description":{"type":"string","description":"Description of the option","example":"Select this if blue is your favorite color"}}},"CustomFieldOptionResponse":{"description":"Custom field options are the selectable values for dropdown custom fields","type":"object","required":["created_at","creator_id","custom_field_id","id","is_ad_hoc","member_count","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"title":{"type":"string","description":"The title of the option","example":"Blue"},"description":{"type":"string","description":"The description of the option","example":"Select this if blue is your favorite color"},"custom_field_id":{"type":"integer","format":"uint64","description":"The ID of the custom field this option belongs to"},"member_count":{"type":"integer","format":"uint64","description":"The number of members who have selected this option"},"is_ad_hoc":{"type":"boolean","description":"Whether this option was created by a member (ad-hoc) or by a host"},"creator_id":{"type":"integer","format":"uint64","description":"The ID of the member who created this option"}}},"CustomFieldAnswerRequest":{"description":"Request to create or update a custom field answer","type":"object","required":[],"properties":{"text":{"type":"string","description":"The text response for text-based custom fields","example":"I love hiking and photography"},"segment_ids":{"type":"array","description":"Array of segment IDs for dropdown custom fields","items":{"type":"integer","format":"uint64"}}}},"SegmentResponse":{"description":"Segments are custom field options used to categorize members","type":"object","required":["created_at","custom_field_id","id","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"title":{"type":"string","description":"The title of the segment","example":"Gold Member"},"description":{"type":"string","description":"The description of the segment","example":"Premium tier members"},"color":{"type":"string","description":"The hex color code for the segment","example":"#FFD700"},"custom_field_id":{"type":"integer","format":"uint64","description":"The ID of the custom field this segment belongs to"}}},"CustomFieldAnswerResponse":{"description":"A user's response to a custom field question","type":"object","required":["created_at","custom_field_id","id","last_edited_at","updated_at","user_id"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"user_id":{"type":"integer","format":"uint64","description":"ID of the user who provided this response","example":12345},"custom_field_id":{"type":"integer","format":"uint64","description":"ID of the custom field this response is for","example":67890},"text":{"type":"string","description":"The text response (for text-based custom fields)","example":"I love hiking and photography"},"segments":{"type":"array","description":"Array of segments (for dropdown custom fields)","items":{"$ref":"#/components/schemas/SegmentResponse"}},"last_edited_at":{"type":"string","format":"date-time","description":"When this response was last edited","example":"2025-01-15T10:30:00Z"}}},"ReactionRequest":{"description":"A reaction request for creating reactions on posts or comments","type":"object","required":["emoji"],"properties":{"emoji":{"type":"string","description":"The emoji used for the reaction (may include skin tone modifiers)"}}},"ReactionResponse":{"description":"A reaction to a post or comment","type":"object","required":["base_emoji","created_at","emoji","id","member_id","network_id","space_id","targetable_id","targetable_space_id","targetable_type","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"space_id":{"type":"integer","format":"uint64","description":"The ID of the space where the reaction was created","example":123},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network where the reaction was created","example":100},"targetable_id":{"type":"integer","format":"uint64","description":"The ID of the post or comment being reacted to","example":456},"targetable_type":{"type":"string","description":"The type of object being reacted to (Post or Comment)","example":"Post"},"targetable_space_id":{"type":"integer","format":"uint64","description":"The ID of the space where the target post or comment is located","example":123},"emoji":{"type":"string","description":"The emoji used for the reaction (may include skin tone modifiers)","example":"👍"},"base_emoji":{"type":"string","description":"The base emoji without skin tone modifiers","example":"👍"},"member_id":{"type":"integer","format":"uint64","description":"The ID of the member who created the reaction","example":789}}},"TagUpdateRequest":{"description":"Request to update a tag","type":"object","required":[],"properties":{"title":{"type":"string","description":"The title of the tag","example":"VIP Member"},"description":{"type":"string","description":"The description of the tag","example":"Premium tier members"},"color":{"type":"string","description":"The hex color code for the tag","example":"#FF5733"}}},"TagRequest":{"description":"Request to create a tag","type":"object","required":["title"],"properties":{"title":{"type":"string","description":"The title of the tag","example":"VIP Member"},"description":{"type":"string","description":"The description of the tag","example":"Premium tier members"},"color":{"type":"string","description":"The hex color code for the tag","example":"#FF5733"}}},"TagResponse":{"description":"Tags are custom field values used to categorize and label members","type":"object","required":["created_at","custom_field_id","id","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"title":{"type":"string","description":"The title of the tag","example":"VIP Member"},"description":{"type":"string","description":"The description of the tag","example":"Premium tier members"},"color":{"type":"string","description":"The hex color code for the tag","example":"#FF5733"},"custom_field_id":{"type":"integer","format":"uint64","description":"The ID of the custom field this tag belongs to"}}},"SubscriptionDetailResponse":{"description":"Detailed subscription information","type":"object","required":["id","purchased_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"current_period_start":{"type":"string","format":"date-time","description":"Start of current billing period","example":"2026-07-05T21:11:42+00:00"},"current_period_end":{"type":"string","format":"date-time","description":"End of current billing period","example":"2026-07-05T21:11:42+00:00"},"payment_platform":{"type":"string","description":"Payment platform (stripe, apple, etc.)"},"canceled_at":{"type":"string","format":"date-time","description":"When the subscription was canceled","example":"2026-07-05T21:11:42+00:00"},"trial_length":{"type":"integer","format":"uint64","description":"Length of trial in days"},"trial_start":{"type":"string","format":"date-time","description":"Trial start date","example":"2026-07-05T21:11:42+00:00"},"trial_end":{"type":"string","format":"date-time","description":"Trial end date","example":"2026-07-05T21:11:42+00:00"},"purchased_at":{"type":"string","format":"date-time","description":"When the subscription was purchased","example":"2026-07-05T21:11:42+00:00"}}},"SubscriptionPlanResponse":{"description":"Plan information for a subscription","type":"object","required":["amount","currency","has_free_trial","interval","type"],"properties":{"id":{"type":"integer","format":"uint64","description":"The plan ID (null when the underlying bundle has been deleted)"},"name":{"type":"string","description":"The plan name (null when the underlying bundle has been deleted)"},"amount":{"type":"integer","format":"uint64","description":"The plan amount in cents"},"currency":{"type":"string","description":"The plan currency code"},"interval":{"type":"string","description":"The billing interval (day, week, month, year, etc.)"},"type":{"type":"string","description":"The plan type (free, subscription, one-time-payment)"},"has_free_trial":{"type":"boolean","description":"Whether the plan has a free trial"}}},"CategoryResponse":{"description":"A category (segment) in the network","type":"object","required":["id","title"],"properties":{"id":{"type":"integer","format":"uint64","description":"The category's integer ID"},"title":{"type":"string","description":"The category's title"}}},"SubscriptionResponse":{"description":"A payment subscription for a plan","type":"object","required":["created_at","email","member_id","permalink","plan","subscription","updated_at"],"properties":{"member_id":{"type":"integer","format":"uint64","description":"The subscriber's integer ID"},"created_at":{"type":"string","format":"date-time","description":"The date and time the subscriber was created","example":"2026-07-05T21:11:42+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the subscriber was last modified","example":"2026-07-05T21:11:42+00:00"},"email":{"type":"string","format":"email","description":"The subscriber's email address","example":"ada.lovelace@example.com"},"first_name":{"type":"string","description":"The subscriber's first name"},"last_name":{"type":"string","description":"The subscriber's last name"},"time_zone":{"type":"string","description":"The subscriber's time zone"},"location":{"type":"string","description":"The subscriber's location"},"referral_count":{"type":"integer","format":"uint64","description":"Number of referrals made by this subscriber"},"avatar":{"type":"string","description":"URL to the subscriber's avatar image"},"categories":{"type":"array","description":"Array of category objects. Contains the user's primary segment if present.","items":{"$ref":"#/components/schemas/CategoryResponse"}},"permalink":{"type":"string","description":"Canonical URL to the subscriber's profile page"},"ambassador_level":{"type":"string","description":"The subscriber's ambassador level"},"plan":{"description":"The subscription plan","$ref":"#/components/schemas/SubscriptionPlanResponse"},"subscription":{"description":"Detailed subscription information","$ref":"#/components/schemas/SubscriptionDetailResponse"}}},"SpaceUpdateRequest":{"description":"Request to update a space","type":"object","required":[],"properties":{"name":{"type":"string","description":"The name of the space","example":"Updated Space Name"},"collection_id":{"type":"integer","format":"uint64","description":"The ID of the collection to move the space to","example":123}}},"SpaceRequest":{"description":"Request to create or update a space","type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of the space"}}},"PurchaseDetailResponse":{"description":"Detailed purchase information","type":"object","required":["created_at","id","purchased_at","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"tax_percent":{"type":"integer","format":"uint64","description":"Tax percentage applied"},"payment_platform":{"type":"string","description":"Payment platform (stripe, apple, web3)"},"purchased_at":{"type":"string","format":"date-time","description":"When the purchase was made","example":"2026-07-05T21:11:42+00:00"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"}}},"PurchasePlanResponse":{"description":"Plan information for a purchase","type":"object","required":["amount","currency","has_free_trial","interval","type"],"properties":{"id":{"type":"integer","format":"uint64","description":"The plan ID (null when the underlying bundle has been deleted)"},"name":{"type":"string","description":"The plan name (null when the underlying bundle has been deleted)"},"amount":{"type":"integer","format":"uint64","description":"The plan amount in cents"},"currency":{"type":"string","description":"The plan currency code"},"interval":{"type":"string","description":"The billing interval (one_time for purchases)"},"type":{"type":"string","description":"The plan type (free or one-time-payment)"},"has_free_trial":{"type":"boolean","description":"Whether the plan has a free trial"}}},"PurchaseResponse":{"description":"A purchase of a plan by a member","type":"object","required":["member_email","member_id","plan","purchase"],"properties":{"member_id":{"type":"integer","format":"uint64","description":"ID of the member who made the purchase"},"member_email":{"type":"string","format":"email","description":"Email of the member","example":"ada.lovelace@example.com"},"member_first_name":{"type":"string","description":"Member's first name"},"member_last_name":{"type":"string","description":"Member's last name"},"member_time_zone":{"type":"string","description":"Member's time zone"},"member_location":{"type":"string","description":"Member's location"},"member_referral_count":{"type":"integer","format":"uint64","description":"Number of referrals made by this member"},"member_avatar":{"type":"string","description":"URL to the member's avatar image"},"member_categories":{"type":"string","description":"Array of category objects with id and title"},"member_permalink":{"type":"string","description":"URL to member's profile page"},"member_ambassador_level":{"type":"string","description":"The member's ambassador level"},"plan":{"description":"The purchase plan","$ref":"#/components/schemas/PurchasePlanResponse"},"purchase":{"description":"Detailed purchase information","$ref":"#/components/schemas/PurchaseDetailResponse"}}},"PostUpdateRequest":{"description":"Request to update a post or article","type":"object","required":[],"properties":{"title":{"type":"string","description":"The title of the post"},"description":{"type":"string","description":"The description/body content of the post"}}},"PostRequest":{"description":"Posts are created by users within spaces","type":"object","required":["space_id","title"],"properties":{"space_id":{"type":"integer","format":"uint64","description":"The ID of the space to post in"},"title":{"type":"string","description":"The title of the post"},"description":{"type":"string","description":"The description/body content of the post"},"post_type":{"type":"string","description":"The type of post to create (e.g., 'article')"}}},"PostResponse":{"description":"Posts are created by users within spaces","type":"object","required":["comments_enabled","content_type","created_at","creator_id","description","id","images","last_activity_at","permalink","post_type","published_at","space_id","status","summary","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"creator_id":{"type":"integer","format":"uint64","description":"The ID of the user that created the post"},"space_id":{"type":"integer","format":"uint64","description":"The ID of the space where the post was created"},"summary":{"type":"string","description":"A short summary of the post's contents"},"description":{"type":"string","description":"The posts description"},"post_type":{"type":"string","description":"The type of post"},"images":{"type":"array","description":"An array of image URLs associated with the post","items":{"type":"string"}},"title":{"type":"string","description":"The title of the post"},"status":{"type":"string","description":"The post's current status"},"published_at":{"type":"string","format":"date-time","description":"The date the post was published","example":"2026-07-05T21:11:42+00:00"},"last_activity_at":{"type":"string","format":"date-time","description":"The time the of last activity on the post","example":"2026-07-05T21:11:42+00:00"},"content_type":{"type":"string","description":"The type of post content attached to the post"},"comments_enabled":{"type":"boolean","description":"Whether or not comments are enabled on this post"},"permalink":{"type":"string","format":"url","description":"The post's unique address within the network"}}},"PollUpdateRequest":{"description":"Request to update a poll or question","type":"object","required":[],"properties":{"title":{"type":"string","description":"The poll question/title"},"description":{"type":"string","description":"Additional details or context for the poll"}}},"PollRequest":{"description":"Request to create a poll or question","type":"object","required":["poll_type","space_id","title"],"properties":{"space_id":{"type":"integer","format":"uint64","description":"The ID of the space where the poll will be created"},"title":{"type":"string","description":"The poll question/title"},"description":{"type":"string","description":"Additional details or context for the poll"},"poll_type":{"type":"string","description":"The type of poll: 'multiple_choice' (list), 'hot_cold' (continuous slider), 'percentage' (percentage allocation), or 'question' (open-ended text response)"},"choices":{"type":"array","description":"Array of choice text strings (required for multiple_choice, hot_cold, and percentage polls)","items":{"type":"string"}},"notify":{"type":"boolean","description":"Whether to notify network members about the new poll"}}},"PollChoiceResponse":{"description":"A choice option in a multiple choice poll","type":"object","required":["id","text"],"properties":{"id":{"type":"string","description":"The choice ID"},"text":{"type":"string","description":"The choice text"}}},"SpaceResponse":{"type":"object","required":["created_at","id","name","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"name":{"type":"string","description":"The Space's name"},"collection_id":{"type":"integer","format":"uint64","description":"The ID of the collection this space belongs to"}}},"PollResponse":{"description":"A poll or question post","type":"object","required":["comments_enabled","created_at","creator","id","permalink","post_type","space","status","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"post_type":{"type":"string","description":"The type of post (poll or question)"},"poll_type":{"type":"string","description":"The specific poll type (multiple_choice_poll, hot_cold_poll, percentage_poll)"},"title":{"type":"string","description":"The poll question/title"},"description":{"type":"string","description":"The full description of the poll"},"creator":{"description":"The member who created the poll","$ref":"#/components/schemas/UserResponse"},"space":{"description":"The space where the poll was created","$ref":"#/components/schemas/SpaceResponse"},"images":{"type":"array","description":"Array of image URLs associated with the poll","items":{"type":"string"}},"choices":{"type":"array","description":"The poll choices (for polls with choices)","items":{"$ref":"#/components/schemas/PollChoiceResponse"}},"status":{"type":"string","description":"The post's current status"},"published_at":{"type":"string","format":"date-time","description":"The date the post was published","example":"2026-07-05T21:11:42+00:00"},"permalink":{"type":"string","description":"The permanent URL to the poll"},"comments_enabled":{"type":"boolean","description":"Whether or not comments are enabled on this poll"},"last_activity_at":{"type":"string","format":"date-time","description":"The time of last activity on the poll","example":"2026-07-05T21:11:42+00:00"}}},"PlanResponse":{"description":"A plan represents a purchasable offering in your network","type":"object","required":["created_at","id","name","permalink","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"name":{"type":"string","description":"The plan's name"},"description":{"type":"string","description":"The plan's description"},"status":{"type":"string","description":"The plan's status (visible, hidden, pending, rejected, archived, legacy)"},"pricing_type":{"type":"string","description":"The pricing type (free, subscription, one_time, installment, one_time_installment, token_gated, nonpaid)"},"visible_to_members":{"type":"boolean","description":"Whether the plan is visible to members"},"external":{"type":"boolean","description":"Whether the plan includes network membership"},"multiple":{"type":"boolean","description":"Whether the plan includes multiple spaces"},"permalink":{"type":"string","description":"Canonical URL to the plan's about page"}}},"MemberUpdateRequest":{"description":"Request body for updating a member's role and profile information","type":"object","required":[],"properties":{"role":{"type":"string","description":"New role for the member (host, moderator, contributor)","example":"moderator"},"email":{"type":"string","format":"email","description":"New email address for the member","example":"newemail@example.com"},"first_name":{"type":"string","description":"New first name for the member","example":"Jane"},"last_name":{"type":"string","description":"New last name for the member","example":"Smith"}}},"MemberCreateRequest":{"description":"Request body for creating a new member in the network","type":"object","required":["email","first_name","last_name"],"properties":{"email":{"type":"string","format":"email","description":"Email address of the new member","example":"user@example.com"},"first_name":{"type":"string","description":"First name of the new member","example":"John"},"last_name":{"type":"string","description":"Last name of the new member","example":"Doe"},"role":{"type":"string","description":"Role for the member (host, moderator, contributor). Defaults to 'contributor'.","example":"contributor"},"member_type":{"type":"string","description":"Type of member to create. 'full' (default) joins the whole network; 'limited' is added only to the spaces listed in space_ids.","example":"full"},"space_ids":{"type":"array","description":"IDs of the spaces a limited member joins. Required when member_type is 'limited'; ignored otherwise. Duplicate IDs are ignored.","items":{"type":"integer","format":"uint64"}},"send_welcome_email":{"type":"boolean","description":"Whether to send a welcome email to the new member. Defaults to true.","example":true}}},"MemberResponse":{"description":"A member of a network","type":"object","required":["created_at","email","id","member_type","permalink","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"email":{"type":"string","format":"email","description":"The member's email address","example":"ada.lovelace@example.com"},"member_type":{"type":"string","description":"The member's type: 'full' (belongs to the network) or 'limited' (belongs only to specific spaces)"},"first_name":{"type":"string","description":"The member's first name"},"last_name":{"type":"string","description":"The member's last name"},"time_zone":{"type":"string","description":"The member's time zone"},"location":{"type":"string","description":"The member's location"},"bio":{"type":"string","description":"The member's bio"},"referral_count":{"type":"integer","format":"uint64","description":"Number of referrals made by this member"},"avatar":{"type":"string","description":"URL to the member's avatar image"},"categories":{"type":"string","description":"Array of category objects with id and title"},"permalink":{"type":"string","description":"Canonical URL to the member's profile page"},"ambassador_level":{"type":"string","description":"The member's ambassador level"}}},"NetworkResponse":{"description":"Networks are the main organizational unit within Mighty, and house all other objects","type":"object","required":["created_at","description","id","purpose","subdomain","subtitle","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"subdomain":{"type":"string","description":"The network subdomain","example":"paint-pals"},"title":{"type":"string","description":"The network title","example":"The Paint Pals Network"},"subtitle":{"type":"string","description":"The network subtitle","example":"A network for artists to share and collaborate"},"purpose":{"type":"string","description":"The network purpose","example":"Bring together artists interested in sharing their work and inspiring others"},"description":{"type":"string","description":"The network description","example":"A great network"}}},"MeResponse":{"description":"Details of the currently requesting authorization context","type":"object","required":["network","user"],"properties":{"user":{"description":"The authenticated user","$ref":"#/components/schemas/UserResponse"},"network":{"description":"The authenticated network","$ref":"#/components/schemas/NetworkResponse"}}},"InviteRequest":{"description":"Invites allow users and admins to invite new users to the network","type":"object","required":["recipient_email"],"properties":{"recipient_email":{"type":"string","description":"The recipients email address","example":"claude@example.com"},"recipient_first_name":{"type":"string","description":"The recipient's first name","example":"Claude"},"recipient_last_name":{"type":"string","description":"The recipient's last name","example":"Monet"},"user_id":{"type":"integer","format":"uint64","description":"The ID of the user to record as the creator of the invite.\n\nIf not provided, defaults to the owner of the authored API key.\n"}}},"InviteResponse":{"description":"Invites allow users and admins to invite new users to the network","type":"object","required":["created_at","id","recipient_email","recipient_first_name","recipient_last_name","sender_id","updated_at"],"properties":{"recipient_email":{"type":"string","description":"The recipients email address","example":"claude@example.com"},"recipient_first_name":{"type":"string","description":"The recipient's first name","example":"Claude"},"recipient_last_name":{"type":"string","description":"The recipient's last name","example":"Monet"},"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"sender_id":{"type":"integer","format":"uint64","description":"The ID of the user that created the invitation"},"user_id":{"type":"integer","format":"uint64","description":"Deprecated: Use sender_id instead","deprecated":true}}},"EventUpdateRequest":{"description":"Request body for updating an event","type":"object","required":[],"properties":{"title":{"type":"string","description":"The event title","example":"Monthly Community Meetup"},"description":{"type":"string","description":"The event description","example":"Join us for our monthly community meetup"},"link":{"type":"string","description":"External event link URL","example":"https://zoom.us/j/123456789"},"starts_at":{"type":"string","format":"date-time","description":"The date and time the event starts (ISO8601 format)","example":"2025-01-15T14:00:00Z"},"ends_at":{"type":"string","format":"date-time","description":"The date and time the event ends (ISO8601 format)","example":"2025-01-15T16:00:00Z"},"event_type":{"type":"string","description":"Type of event: 'online_meeting', 'local_meetup', etc.","example":"online_meeting"},"location":{"type":"string","description":"Physical location of the event","example":"San Francisco, CA"},"time_zone":{"type":"string","description":"IANA timezone identifier for the event","example":"America/Los_Angeles"},"rsvp_enabled":{"type":"boolean","description":"Whether RSVPs are enabled (default: true)","example":true},"rsvp_closed":{"type":"boolean","description":"Whether RSVPs are closed (default: false)"},"restricted_event":{"type":"boolean","description":"Whether event is restricted to specific members (default: false)"},"post_in_feed":{"type":"boolean","description":"Whether event appears in the activity feed (default: true)","example":true},"frequency":{"type":"string","description":"Recurrence frequency: 'daily', 'weekly', 'monthly', or 'yearly'","example":"weekly"},"interval":{"type":"integer","format":"uint64","description":"Recurrence interval (e.g., 1 for every week, 2 for every 2 weeks)","example":1},"by_days":{"type":"string","description":"Comma-separated list of recurrence day abbreviations (SU/MO/TU/WE/TH/FR/SA)","example":"MO,WE,FR"},"by_month_days":{"type":"string","description":"Comma-separated list of Nth day-of-the-month for recurrence","example":"1,15"},"recurrence_count":{"type":"integer","format":"uint64","description":"How many times the event should recur"},"recur_until":{"type":"string","format":"date-time","description":"End date for recurrence","example":"2026-07-05T21:11:42+00:00"}}},"EventCreateRequest":{"description":"Request body for creating or updating an event","type":"object","required":["ends_at","event_type","space_id","starts_at","title"],"properties":{"title":{"type":"string","description":"The event title","example":"Monthly Community Meetup"},"description":{"type":"string","description":"The event description","example":"Join us for our monthly community meetup"},"link":{"type":"string","description":"External event link URL","example":"https://zoom.us/j/123456789"},"starts_at":{"type":"string","format":"date-time","description":"The date and time the event starts (ISO8601 format)","example":"2025-01-15T14:00:00Z"},"ends_at":{"type":"string","format":"date-time","description":"The date and time the event ends (ISO8601 format)","example":"2025-01-15T16:00:00Z"},"event_type":{"type":"string","description":"Type of event: 'online_meeting', 'local_meetup', etc.","example":"online_meeting"},"space_id":{"type":"integer","format":"uint64","description":"ID of the space where the event will be created","example":123},"location":{"type":"string","description":"Physical location of the event","example":"San Francisco, CA"},"time_zone":{"type":"string","description":"IANA timezone identifier for the event","example":"America/Los_Angeles"},"rsvp_enabled":{"type":"boolean","description":"Whether RSVPs are enabled (default: true)","example":true},"rsvp_closed":{"type":"boolean","description":"Whether RSVPs are closed (default: false)"},"restricted_event":{"type":"boolean","description":"Whether event is restricted to specific members (default: false)"},"post_in_feed":{"type":"boolean","description":"Whether event appears in the activity feed (default: true)","example":true},"frequency":{"type":"string","description":"Recurrence frequency: 'daily', 'weekly', 'monthly', or 'yearly'","example":"weekly"},"interval":{"type":"integer","format":"uint64","description":"Recurrence interval (e.g., 1 for every week, 2 for every 2 weeks)","example":1},"by_days":{"type":"integer","format":"uint64","description":"Comma-separated list of recurrence day obreviations (SU/MO/TU/WE/TH/FR/SA)","example":"MO,WE,FR"},"by_month_days":{"type":"integer","format":"uint64","description":"Comma-separated list of Nth day-of-the-month for recurrence)","example":"1,15"},"recurrence_count":{"type":"integer","format":"uint64","description":"How many times the event should recurr"},"recur_until":{"type":"string","format":"date-time","description":"End date for recurrence","example":"2026-07-05T21:11:42+00:00"}}},"UserResponse":{"type":"object","required":["admin","created_at","email","id","name","short_bio","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"name":{"type":"string","description":"The user's full name"},"email":{"type":"string","format":"email","description":"The user's email address","example":"ada.lovelace@example.com"},"short_bio":{"type":"string","description":"A short biography of the user"},"admin":{"type":"boolean","description":"Whether or not the user is an admin of the network"}}},"EventResponse":{"description":"Events are scheduled gatherings that members can RSVP to","type":"object","required":["created_at","creator","event_type","id","permalink","post_type","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"post_type":{"type":"string","description":"The type of post - always 'event' for this endpoint","example":"event"},"creator":{"description":"The user who created the event","$ref":"#/components/schemas/UserResponse"},"images":{"type":"array","description":"Array of image URLs for the event","items":{"type":"string"}},"permalink":{"type":"string","description":"Full URL to view the event","example":"https://example.mn.co/posts/123"},"title":{"type":"string","description":"The event title","example":"Monthly Community Meetup"},"description":{"type":"string","description":"The event description"},"recurrence_rule":{"type":"string","description":"RRULE format string for recurring events"},"rsvp_enabled":{"type":"boolean","description":"Whether RSVPs are enabled for this event"},"rsvp_closed":{"type":"boolean","description":"Whether RSVPs are closed"},"restricted_event":{"type":"boolean","description":"Whether this event is restricted to specific members"},"post_in_feed":{"type":"boolean","description":"Whether this event appears in the activity feed"},"event_type":{"type":"string","description":"Type of event: 'online_meeting', 'local_meetup', 'zoom_meeting', 'zoom_webinar', etc.","example":"online_meeting"},"starts_at":{"type":"string","format":"date-time","description":"The date and time the event starts (ISO8601 format in event's timezone)","example":"2026-07-05T21:11:42+00:00"},"ends_at":{"type":"string","format":"date-time","description":"The date and time the event ends (ISO8601 format in event's timezone)","example":"2026-07-05T21:11:42+00:00"},"time_zone":{"type":"string","description":"IANA timezone identifier for the event"},"location":{"type":"string","description":"Physical location of the event"},"link":{"type":"string","description":"External event link URL"},"frequency":{"type":"string","description":"Recurrence frequency: 'daily', 'weekly', 'monthly', or 'yearly'"},"interval":{"type":"integer","format":"uint64","description":"Recurrence interval (e.g., 1 for every week, 2 for every 2 weeks)"}}},"CustomFieldUpdateRequest":{"description":"Request body for updating a custom field","type":"object","required":[],"properties":{"title":{"type":"string","description":"The title of the custom field","example":"Favorite Color"},"description":{"type":"string","description":"Description of the custom field","example":"Select your favorite color"},"placeholder":{"type":"string","description":"Placeholder text for the custom field input","example":"Enter your answer here"},"status":{"type":"string","description":"Status of the custom field (visible, hidden, billing_disabled)","example":"visible"},"notify_all_members":{"type":"boolean","description":"Whether to notify all members when making the custom field visible"},"primary":{"type":"boolean","description":"Whether this is the primary custom field"}}},"CustomFieldRequest":{"description":"Request body for creating a custom field","type":"object","required":["privacy","response_by","response_type","title"],"properties":{"title":{"type":"string","description":"The title of the custom field","example":"Favorite Color"},"description":{"type":"string","description":"Description of the custom field","example":"Select your favorite color"},"placeholder":{"type":"string","description":"Placeholder text for the custom field input","example":"Enter your answer here"},"response_type":{"type":"string","description":"The type of response this custom field accepts (dropdown_single_select, dropdown_multi_select, text_short, text_long)","example":"dropdown_single_select"},"privacy":{"type":"string","description":"Privacy level of the custom field (public, private, admin)","example":"public"},"response_by":{"type":"string","description":"Who can respond to this custom field (hosts_only, individual_member)","example":"individual_member"},"allow_ad_hoc":{"type":"boolean","description":"Whether members can add their own options (for dropdown types)"},"max_responses":{"type":"integer","format":"uint64","description":"Maximum number of selections allowed (for dropdown_multi_select, between 2 and 40)","example":5},"options":{"type":"array","description":"Array of option texts for dropdown types","items":{"type":"string"}}}},"CustomFieldResponse":{"description":"Custom Fields are configurable fields that can be added to capture additional member information","type":"object","required":["created_at","id","response_type","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"title":{"type":"string","description":"The title of the custom field","example":"Favorite Color"},"response_type":{"type":"string","description":"The type of response this custom field accepts","example":"dropdown_single_select"}}},"CollectionOrderItemResponse":{"description":"A space's position within a collection after reordering","type":"object","required":["id","name","position"],"properties":{"id":{"type":"integer","format":"uint64","description":"The space's ID"},"name":{"type":"string","description":"The space's name"},"position":{"type":"integer","format":"uint64","description":"The space's position within the collection"}}},"CollectionSpacePosition":{"description":"A space position assignment within a collection","type":"object","required":["position","space_id"],"properties":{"space_id":{"type":"integer","format":"uint64","description":"The ID of the space to reposition","example":123},"position":{"type":"integer","format":"uint64","description":"The target position for the space (1-based)","example":1}}},"CollectionOrderRequest":{"description":"Request to reorder spaces within a collection","type":"object","required":["spaces"],"properties":{"spaces":{"type":"array","description":"Array of space position assignments","items":{"$ref":"#/components/schemas/CollectionSpacePosition"}}}},"CollectionUpdateRequest":{"description":"Request to update a collection","type":"object","required":[],"properties":{"name":{"type":"string","description":"The collection's name","example":"Updated Collection"},"description":{"type":"string","description":"The collection's description","example":"Updated description"},"visible_to_members":{"type":"boolean","description":"Whether the collection is visible to members"}}},"CollectionCreateRequest":{"description":"Request to create a new collection","type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The collection's name","example":"Featured Courses"},"description":{"type":"string","description":"The collection's description","example":"Our most popular courses"},"visible_to_members":{"type":"boolean","description":"Whether the collection is visible to members","example":true}}},"CollectionResponse":{"description":"A collection of spaces within a network","type":"object","required":["created_at","explorable","id","name","position","updated_at","visible_to_members"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"name":{"type":"string","description":"The collection's name"},"description":{"type":"string","description":"The collection's description"},"visible_to_members":{"type":"boolean","description":"Whether the collection is visible to members"},"position":{"type":"integer","format":"uint64","description":"The display position of the collection"},"explorable":{"type":"boolean","description":"Whether the collection contains discoverable spaces or promoted plan"}}},"BadgeUpdateRequest":{"description":"Request to update a badge","type":"object","required":[],"properties":{"title":{"type":"string","description":"The title of the badge","example":"Top Contributor"},"description":{"type":"string","description":"The description of the badge","example":"Awarded to active community members"},"color":{"type":"string","description":"The hex color code for the badge","example":"#FF5733"},"avatar_id":{"type":"integer","format":"uint64","description":"The ID of the asset to use as the badge image","example":12345}}},"BadgeRequest":{"description":"Request to create a badge","type":"object","required":["avatar_id","title"],"properties":{"title":{"type":"string","description":"The title of the badge","example":"Top Contributor"},"description":{"type":"string","description":"The description of the badge","example":"Awarded to active community members"},"color":{"type":"string","description":"The hex color code for the badge","example":"#FF5733"},"avatar_id":{"type":"integer","format":"uint64","description":"The ID of the asset to use as the badge image","example":12345}}},"BadgeResponse":{"description":"Badges are custom field values used to recognize and reward members","type":"object","required":["created_at","custom_field_id","id","title","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"title":{"type":"string","description":"The title of the badge","example":"Top Contributor"},"description":{"type":"string","description":"The description of the badge","example":"Awarded for exceptional contributions"},"color":{"type":"string","description":"The hex color code for the badge","example":"#FFD700"},"custom_field_id":{"type":"integer","format":"uint64","description":"The ID of the custom field this badge belongs to"},"avatar_url":{"type":"string","description":"URL to the badge image"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"An error message explaining the problem encountered"}}},"AssetResponse":{"description":"File or media asset attached to content","type":"object","required":["id","type"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"url":{"type":"string","format":"url","description":"URL to access the asset"},"type":{"type":"string","description":"The type of asset (Asset, StaticAsset, etc.)"},"name":{"type":"string","description":"Original filename of the asset"}}},"AbuseReportResponse":{"description":"A report of content or user that violates community guidelines","type":"object","required":["created_at","id","member_id","network_id","report_type","targetable_id","targetable_type","updated_at"],"properties":{"id":{"type":"integer","format":"uint64","description":"The record's integer ID","example":"1234"},"created_at":{"type":"string","format":"date-time","description":"The date and time the record was created","example":"2026-07-05T21:11:41+00:00"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the record was last modified","example":"2026-07-05T21:11:41+00:00"},"member_id":{"type":"integer","format":"uint64","description":"The ID of the member who submitted the report"},"targetable_id":{"type":"integer","format":"uint64","description":"The ID of the reported item (post, comment, user, or space)"},"targetable_type":{"type":"string","description":"The type of item being reported"},"report_type":{"type":"string","description":"The category of the report (spam, offensive, impersonation, other)"},"reason":{"type":"string","description":"Additional details provided by the reporter"},"context_id":{"type":"integer","format":"uint64","description":"The ID of the context where the report was made"},"context_type":{"type":"string","description":"The type of context (Post, Comment, Space)"},"space_id":{"type":"integer","format":"uint64","description":"The ID of the space where the report was made"},"network_id":{"type":"integer","format":"uint64","description":"The ID of the network"},"ignored_at":{"type":"string","format":"date-time","description":"When the report was marked as ignored","example":"2026-07-05T21:11:42+00:00"},"ignored_by_id":{"type":"integer","format":"uint64","description":"The ID of the user who ignored the report"}}}},"parameters":{"networkId":{"name":"network_id","in":"path","description":"The Network's unique integer ID, or subdomain","required":true,"schema":{"oneOf":[{"type":"integer","description":"Unique numeric network ID","format":"uint64"},{"type":"string","description":"Network subdomain","format":"/^[a-z][a-z0-9-]+$/"}]}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"security":[{"bearerAuth":[]}]}