API Reference - ALPHA
The Groups.io API is organized around REST. Our API has predictable, resource-oriented URLs, and uses HTTP response codes to indicate API errors. We use built-in HTTP features, like HTTP authentication and HTTP verbs, which are understood by off-the-shelf HTTP clients. JSON is returned by many API responses, when appropriate, including errors.
Note: The API is under active development. Items marked [NI] mean they are not yet implemented.
There is a group to discuss the API. If you have questions about the API or suggestions for improvements of the API or the docs, please post them there.
API Endpoint
Versioning And Change Log
When we make backwards-incompatible changes to the API, we release new, dated versions.
View the changelog to see changes between different versions.
To set the API version on a specific request, send a Groupsio-Version
header.
What changes does Groups.io consider to be “backwards-compatible”?
- Adding new API resources.
- Adding new optional request parameters to existing API methods.
- Adding new properties to existing API responses.
- Changing the order of properties in existing API responses.
- Changing the length of object IDs or other opaque strings.
- You can safely assume object IDs we generate will never exceed 255 characters, but you should be able to handle IDs of up to that length. If for example you’re using MySQL, you should store IDs in a VARCHAR(255) COLLATE utf8_bin column (the COLLATE configuration ensures case-sensitivity in lookups). Adding new event types.
Success
Groups.io uses conventional HTTP response codes to indicate the success or failure of an API request. HTTP response code 200 indicates success and HTTP response code 400 indicates an error. In addition, some endpoints need to return additional information on success. In these instances, a success object is returned with the additional information. This object is returned with the HTTP 200 response code.
Response Attributes
object
string, value is "success" |
String representing the object’s type. Objects of the same type share the same value. |
extra |
Extra information, endpoint specific. |
Example Success Response
{
"object": "success",
"extra": "pending post"
}
Errors
Groups.io uses conventional HTTP response codes to indicate the success or failure of an API request. HTTP response code 200 indicates success and HTTP response code 400 indicates an error. In addition, when there is an error, an error object is returned, containing details of the error.
All API calls return an error object when there is an error, in addition to returning an HTTP 400 error code. Errors specific to API calls are listed with each API call. General errors, that can happen with any API call, are listed in this section.
Response Attributes
object
string, value is "error" |
String representing the object’s type. Objects of the same type share the same value. |
type |
The type of error returned. |
extra |
Extra information, error specific. |
unauthorized |
Incorrect email address or password. |
bad_request |
Incorrect parameters passed in. For example, a group id that doesn't exist. |
authentication |
Failure to properly authenticate yourself in the request. |
expired |
The supplied authentication token is too old. |
rate_limit |
Too many requests hit the API too quickly. |
inadequate_permissions |
You do not have permission to execute the specific API call. |
invalid_value |
When a value is unrecognized. The |
server |
There was a problem with the server. Please try again later. |
200
OK |
Everything worked as expected. |
400
Bad Request |
The request was unacceptable, often due to missing a required parameter. |
429
Too Many Requests |
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests. |
Example Error Response
{
"object": "error",
"type": "unauthorized",
"extra": ""
}
Pagination
Some API resources support pagination. These calls take at least these query parameters: limit
, page_token
, sort_field
, sort_dir
. Their responses use the list response format
defined below.
Groups.io utilizes cursor-based pagination via the page_token
and next_page_token
parameters. For the first call to an endpoint that supports paging, do
not include the page_token
parameter. The response will include a next_page_token
number. To fetch the next page of results, call the endpoint with
page_token
set to the next_page_token
number.
limit
optional number, default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional opaque |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Valid values are dependent on the call. |
sort_dir
optional string |
Sort direction. Can be 'asc' or 'desc'. |
object
string, value is "list" |
String representing the object’s type. Objects of the same type share the same value. |
total_count
number |
The total number of items. |
start_item
number |
The index of the first item returned. |
end_item
number |
The index of the last item returned. |
has_more
boolean |
Whether or not there are more elements available after this set. If |
next_page_token
opaque |
To fetch the next page, set the |
data
array |
An array containing the actual response elements, paginated by any request parameters. |
Example Response
{
"object": "list",
"total_count": 2,
"start_item": 1,
"end_item": 2,
"has_more": false,
"next_page_token": 0,
"data": [
{
"id": 701,
"object": "subscription",
"created": "2017-08-15T13:58:22.618029196-07:00",
"updated": "2017-08-15T13:58:22.618029196-07:00",
"user_id": 147,
"group_id": 4,
"status": "sub_status_normal",
"post_status": "sub_poststatus_normal",
"email_delivery": "email_delivery_single",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_small",
"approved_posts": 0,
"mod_status": "sub_modstatus_none",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "",
"owner_msg_notify": "sub_ownermsg_notify_subs",
"email": "john@smith.com",
"user_status": "user_status_confirmed",
"user_name": "",
"timezone": "",
"full_name": "John Smith",
"about_me": "",
"about_format": "about_html",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_private",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "1969-12-31T16:00:00-08:00",
"use_signature": false,
"use_signature_email": false
},
{
"id": 702,
"object": "subscription",
"created": "2017-08-15T13:58:22.618029196-07:00",
"updated": "2017-08-15T13:58:22.618029196-07:00",
"user_id": 147,
"group_id": 4,
"status": "sub_status_normal",
"post_status": "sub_poststatus_normal",
"email_delivery": "email_delivery_single",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_small",
"approved_posts": 0,
"mod_status": "sub_modstatus_none",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "",
"owner_msg_notify": "sub_ownermsg_notify_subs",
"email": "john@smith.com",
"user_status": "user_status_confirmed",
"user_name": "",
"timezone": "",
"full_name": "John Smith",
"about_me": "",
"about_format": "about_html",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_private",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "1969-12-31T16:00:00-08:00",
"use_signature": false,
"use_signature_email": false
}
]
}
Libraries
The following are unofficial libraries.
JAVA |
Authentication
Authentication
Authentication to the API is performed via HTTP Basic Auth, using a token received from the
login
API call. Provide the token as the basic auth username value. You do not need to provide a password.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail, as will requests made without HTTP Basic Auth.
Only the username field is used to provide information for authentication - for the login call, set it to your API key. The response will contain an API token which should be used as the username in all future requests until it expires.
Objects
Calls can return an object, or a list of objects, which can be paged through. Every object has an object
parameter which identifies the object. Lists of objects also have an object
parameter, set to list
.
The Add Error Object
The direct add results error object.
Response Attributes
object
string |
direct_add_error |
email
string |
|
status
string |
utils.DirectAddStatus |
group_id
number |
Example Response
{
"object": "direct_add_error",
"email": "",
"status": "",
"group_id": 12,
}
The Attachment Object
The Attachment object contains all the data required for displaying an image attachment.
Response Attributes
id
string |
|
object
string |
attachment |
created
date |
|
group_id
number |
|
user_id
number |
Who originally created this table |
thread_id
number |
|
message_num
number |
|
attach_num
number |
|
type
string |
|
sub_type
string |
|
name
string |
|
content
string |
|
image_width
number |
|
image_height
number |
|
column |
gallery_url - string: |
Example Response
{
"id": "",
"object": "attachment",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"user_id": 12,
"thread_id": 12,
"message_num": 12,
"attach_num": 12,
"type": "",
"sub_type": "",
"name": "",
"content": "",
"image_width": 12,
"image_height": 12,
"column:gallery_url": "",
}
The Chat Object
The file object.
Response Attributes
id
number |
|
object
string |
chat |
created
date |
|
updated
date |
|
user_id
number |
|
group_id
number |
|
subject
string |
|
desc
string |
|
desc_type
string |
|
is_closed
boolean |
|
num_messages
number |
Example Response
{
"id": 12,
"object": "chat",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"subject": "",
"desc": "",
"desc_type": "",
"is_closed": false,
"num_messages": 12,
}
The Database Column Object
The database column object.
Response Attributes
id
number |
Column ID |
name
string |
Name is the name of the column |
type
string |
Type is the column type |
required
boolean |
Required means that the field cannot be empty |
color
string |
Color is the color of the row |
choices
array of string |
Choices are the titles of choices for Multiple Choice column. Also used for YesNo |
width
number |
Width is the width of the column (0 means not set/use the default) |
Example Response
{
"id": 12,
"name": "",
"type": "",
"required": false,
"color": "",
"choices": [""],
"width": 12,
}
The Database Table Object
The database table object.
Response Attributes
id
number |
|
object
string |
databasetable |
created
date |
|
updated
date |
|
group_id
number |
|
user_id
number |
Who originally created this table |
name
string |
Name of table |
short_desc
string |
|
desc
string |
|
desc_type
string |
html, plain, markdown |
edit_table
string |
|
edit_rows
string |
|
add_rows
string |
|
view_table
string |
|
num_rows
number |
Number of rows, not maintained automatically |
max_row_id
number |
For setting DatabaseRow.RowID, not maintained automatically |
num_columns
number |
Number of columns, automatically maintained |
max_col_id
number |
For setting unique column ids |
display_template
string |
Display template |
columns
array of Database Column objects |
Example Response
{
"id": 12,
"object": "databasetable",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"user_id": 12,
"name": "",
"short_desc": "",
"desc": "",
"desc_type": "",
"edit_table": "",
"edit_rows": "",
"add_rows": "",
"view_table": "",
"num_rows": 12,
"max_row_id": 12,
"num_columns": 12,
"max_col_id": 12,
"display_template": "",
"columns": [
{
"id": 12,
"name": "",
"type": "",
"required": false,
"color": "",
"choices": [""],
"width": 12,
}
],
}
The Direct Add Results Object
The direct add results object.
Response Attributes
object
string |
direct_add_results |
total_emails
number |
|
errors
array of Add Error objects |
|
added_members
array of Member Info objects |
Direct Add |
Example Response
{
"object": "direct_add_results",
"total_emails": 12,
"errors": [
{
"object": "direct_add_error",
"email": "",
"status": "",
"group_id": 12,
}
],
"added_members": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
}
The Draft Object
The draft object. Draft represents a draft of a posting (a post in process of being written).
Response Attributes
id
number |
Unique ID of the draft object |
object
string |
draft |
created
date |
|
updated
date |
|
user_id
number |
|
group_id
number |
|
draft_type
string |
The type of message this draft represents. |
subject
string |
Subject of the draft message. |
body
string |
Body of the draft message. |
body_type
string |
Body type of the draft message. |
is_special
boolean |
If the draft should be sent as a special message. Only applicable for |
num_attachments
number |
The number of attachments associated with the draft |
next_attachment_id
number |
The ID of the next attachment to be uploaded |
message_id
number |
message_id is for replies, and is the ID of the Message we're replying to |
bcc_me
boolean |
If we should BCC ourselves with the message. Only applicable for |
bcc_all
boolean |
If we should BCC all moderators with the message. Only applicable for |
New Draft | |
Update Draft |
Example Response
{
"id": 12,
"object": "draft",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"draft_type": "",
"subject": "",
"body": "",
"body_type": "",
"is_special": false,
"num_attachments": 12,
"next_attachment_id": 12,
"message_id": 12,
"bcc_me": false,
"bcc_all": false,
}
The Draft Attachment List Object
Draft Attachment List
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
data
array of DraftAttachment objects |
Upload Attachments | |
Get Attachments |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "draft",
"draft_id": 12,
"url": "",
"filename": "",
"size": 12,
"content_type": "",
"inline": false,
}
],
}
The Draft List Object
Draft List
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
data
array of Draft objects |
Get Drafts |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "draft",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"draft_type": "",
"subject": "",
"body": "",
"body_type": "",
"is_special": false,
"num_attachments": 12,
"next_attachment_id": 12,
"message_id": 12,
"bcc_me": false,
"bcc_all": false,
}
],
}
The DraftAttachment Object
The draft attachment object. This represents an attachment associated with a draft.
Response Attributes
id
number |
ID of the draft attachment object, unique to the draft |
object
string |
draftattachment |
draft_id
number |
ID of the draft this attachment is associated with |
url
string |
The URL of the draft attachment, for displaying the attachment |
filename
string |
Filename of the attachment |
size
number |
Size of the attachment |
content_type
string |
Content type of the attachment |
inline
boolean |
If the attachment represents an inline image |
Example Response
{
"id": 12,
"object": "draft",
"draft_id": 12,
"url": "",
"filename": "",
"size": 12,
"content_type": "",
"inline": false,
}
The Error Object
The error object.
Response Attributes
object
string |
error |
type
string |
|
extra
string |
Example Response
{
"object": "error",
"type": "",
"extra": "",
}
The Event Object
The event object.
Response Attributes
id
number |
|
object
string |
event |
created
date |
|
updated
date |
|
group_id
number |
|
start_time
date |
Start time of event |
end_time
date |
End time of event |
timezone
string |
Timezone that event was created in |
all_day
boolean |
If event is all day |
name
string |
|
location
string |
|
description
string |
Event description, in HTML format |
organizer_name
string |
|
organizer_email
string |
|
organizer_phone
string |
|
color_name
string |
Can be one of: |
color_hex
string |
|
rsvp
boolean |
Requesting an RSVP |
max_attendees
number |
Number of attendees for RSVP events (0 if unlimited) |
additional_guests
boolean |
Whether attendees can bring additional people |
comment_label
string |
If additional information is requested, this is the label for that field |
yes_message
string |
Email to send when people RSVP Yes, in same format as Format |
has_rsvp
boolean |
If there is an RSVP record for this event corresponding to this user |
rsvp_type
string |
Type of RSVP |
Example Response
{
"id": 12,
"object": "event",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"start_time": "2009-11-10T15:00:00-08:00",
"end_time": "2009-11-10T15:00:00-08:00",
"timezone": "",
"all_day": false,
"name": "",
"location": "",
"description": "",
"organizer_name": "",
"organizer_email": "",
"organizer_phone": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"rsvp": false,
"max_attendees": 12,
"additional_guests": false,
"comment_label": "",
"yes_message": "",
"has_rsvp": false,
"rsvp_type": "",
}
The Event List Object
The Event List object contains a list of Event objects.
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
data
array of Event objects |
Get Events |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "event",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"start_time": "2009-11-10T15:00:00-08:00",
"end_time": "2009-11-10T15:00:00-08:00",
"timezone": "",
"all_day": false,
"name": "",
"location": "",
"description": "",
"organizer_name": "",
"organizer_email": "",
"organizer_phone": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"rsvp": false,
"max_attendees": 12,
"additional_guests": false,
"comment_label": "",
"yes_message": "",
"has_rsvp": false,
"rsvp_type": "",
}
],
}
The Feed Object
The Feed object contains all the data required for displaying one group in a user's feed page.
Response Attributes
object
string |
feed |
member_info
Member Info object |
|
group
Group object |
|
topics
array of Feed Topic objects |
The five most recent topics. |
events
array of Event objects |
The next four upcoming events. |
files
array of File objects |
The five most recent file uploads. |
photos
array of Photo objects |
The nine most recent photo uploads. |
chats
array of Chat objects |
The five most recent chats. |
wikis
array of Wiki objects |
The five most recently updated wiki pages. |
subgroups
array of Group objects |
The five newest subgroups, if this is a parent group. |
tables
array of Database Table objects |
The five most recently updated database tables. |
hashtags
array of Hashtag objects |
The ten most popular hashtags |
Example Response
{
"object": "feed",
"member_info":
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
},
"group":
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
},
"topics": [
{
"topic":
{
"id": 12,
"object": "topic",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"group_subject_tag": "",
"subject": "",
"summary": "",
"name": "",
"profile_photo_url": "",
"num_messages": 12,
"is_sticky": false,
"is_moderated": false,
"is_closed": false,
"has_attachments": false,
"reply_to": "thread_reply_group_default",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
},
"images": [
{
"id": "",
"object": "attachment",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"user_id": 12,
"thread_id": 12,
"message_num": 12,
"attach_num": 12,
"type": "",
"sub_type": "",
"name": "",
"content": "",
"image_width": 12,
"image_height": 12,
"column:gallery_url": "",
}
],
}
],
"events": [
{
"id": 12,
"object": "event",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"start_time": "2009-11-10T15:00:00-08:00",
"end_time": "2009-11-10T15:00:00-08:00",
"timezone": "",
"all_day": false,
"name": "",
"location": "",
"description": "",
"organizer_name": "",
"organizer_email": "",
"organizer_phone": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"rsvp": false,
"max_attendees": 12,
"additional_guests": false,
"comment_label": "",
"yes_message": "",
"has_rsvp": false,
"rsvp_type": "",
}
],
"files": [
{
"id": 12,
"object": "file",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"name": "",
"desc": "",
"media_type": "",
"size": 12,
"parent_dir_id": 12,
}
],
"photos": [
{
"id": 12,
"object": "photo",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"name": "",
"desc": "",
"media_type": "",
"size": 12,
"column:width": 12,
"column:height": 12,
"column:album_id": 12,
"column:gallery_url": "",
}
],
"chats": [
{
"id": 12,
"object": "chat",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"subject": "",
"desc": "",
"desc_type": "",
"is_closed": false,
"num_messages": 12,
}
],
"wikis": [
{
"id": 12,
"object": "wiki",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"title": "",
"desc": "",
"format": "",
"locked": false,
"rev_count": 12,
}
],
"subgroups": [
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
}
],
"tables": [
{
"id": 12,
"object": "databasetable",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"user_id": 12,
"name": "",
"short_desc": "",
"desc": "",
"desc_type": "",
"edit_table": "",
"edit_rows": "",
"add_rows": "",
"view_table": "",
"num_rows": 12,
"max_row_id": 12,
"num_columns": 12,
"max_col_id": 12,
"display_template": "",
"columns": [
{
"id": 12,
"name": "",
"type": "",
"required": false,
"color": "",
"choices": [""],
"width": 12,
}
],
}
],
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
The Feed List Object
The Feed List object contains a list of Feed objects.
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
data
array of Feed objects |
Get Feed |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"object": "feed",
"member_info":
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
},
"group":
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
},
"topics": [
{
"topic":
{
"id": 12,
"object": "topic",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"group_subject_tag": "",
"subject": "",
"summary": "",
"name": "",
"profile_photo_url": "",
"num_messages": 12,
"is_sticky": false,
"is_moderated": false,
"is_closed": false,
"has_attachments": false,
"reply_to": "thread_reply_group_default",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
},
"images": [
{
"id": "",
"object": "attachment",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"user_id": 12,
"thread_id": 12,
"message_num": 12,
"attach_num": 12,
"type": "",
"sub_type": "",
"name": "",
"content": "",
"image_width": 12,
"image_height": 12,
"column:gallery_url": "",
}
],
}
],
"events": [
{
"id": 12,
"object": "event",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"start_time": "2009-11-10T15:00:00-08:00",
"end_time": "2009-11-10T15:00:00-08:00",
"timezone": "",
"all_day": false,
"name": "",
"location": "",
"description": "",
"organizer_name": "",
"organizer_email": "",
"organizer_phone": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"rsvp": false,
"max_attendees": 12,
"additional_guests": false,
"comment_label": "",
"yes_message": "",
"has_rsvp": false,
"rsvp_type": "",
}
],
"files": [
{
"id": 12,
"object": "file",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"name": "",
"desc": "",
"media_type": "",
"size": 12,
"parent_dir_id": 12,
}
],
"photos": [
{
"id": 12,
"object": "photo",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"name": "",
"desc": "",
"media_type": "",
"size": 12,
"column:width": 12,
"column:height": 12,
"column:album_id": 12,
"column:gallery_url": "",
}
],
"chats": [
{
"id": 12,
"object": "chat",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"subject": "",
"desc": "",
"desc_type": "",
"is_closed": false,
"num_messages": 12,
}
],
"wikis": [
{
"id": 12,
"object": "wiki",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"title": "",
"desc": "",
"format": "",
"locked": false,
"rev_count": 12,
}
],
"subgroups": [
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
}
],
"tables": [
{
"id": 12,
"object": "databasetable",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"user_id": 12,
"name": "",
"short_desc": "",
"desc": "",
"desc_type": "",
"edit_table": "",
"edit_rows": "",
"add_rows": "",
"view_table": "",
"num_rows": 12,
"max_row_id": 12,
"num_columns": 12,
"max_col_id": 12,
"display_template": "",
"columns": [
{
"id": 12,
"name": "",
"type": "",
"required": false,
"color": "",
"choices": [""],
"width": 12,
}
],
}
],
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
],
}
The Feed Topic Object
The Feed Topic object combines a Topic object and an array of Images that go with the most recent message in that topic.
Response Attributes
topic
Topic object |
|
images
array of Attachment objects |
Example Response
{
"topic":
{
"id": 12,
"object": "topic",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"group_subject_tag": "",
"subject": "",
"summary": "",
"name": "",
"profile_photo_url": "",
"num_messages": 12,
"is_sticky": false,
"is_moderated": false,
"is_closed": false,
"has_attachments": false,
"reply_to": "thread_reply_group_default",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
},
"images": [
{
"id": "",
"object": "attachment",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"user_id": 12,
"thread_id": 12,
"message_num": 12,
"attach_num": 12,
"type": "",
"sub_type": "",
"name": "",
"content": "",
"image_width": 12,
"image_height": 12,
"column:gallery_url": "",
}
],
}
The File Object
The file object.
Response Attributes
id
number |
|
object
string |
file |
created
date |
|
updated
date |
|
user_id
number |
|
group_id
number |
|
name
string |
|
desc
string |
|
media_type
string |
|
size
number |
|
parent_dir_id
number |
Example Response
{
"id": 12,
"object": "file",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"name": "",
"desc": "",
"media_type": "",
"size": 12,
"parent_dir_id": 12,
}
The Group Object
The group object.
Response Attributes
id
number |
|
object
string |
group |
created
date |
|
updated
date |
|
title
string |
Group title |
name
string |
Name |
alias
string |
Alias |
desc
string |
Group description, in HTML |
plain_desc
string |
Plain text version of the description |
subject_tag
string |
Prepended to subject lines |
footer
string |
Appended to group messages |
website
string |
URL of associated website |
announce
boolean |
|
moderated
boolean |
|
new_users_moderated
boolean |
|
unmoderate_users_after
number |
Unmoderate users after N consecutive approved posts |
restricted
boolean |
|
allow_non_subs_to_post
boolean |
|
force_html_emails
boolean |
|
normalize_html_emails
boolean |
strip all font/colors/bg stuff from messages |
reply_to
string |
Can be one of: |
remove_other_reply_options
boolean |
|
privacy
string |
Can be one of: |
seperate_footers
boolean |
Place message footers in separate mime part |
allow_downloads
string |
If we let members download archives Can be one of: |
members_visible
string |
Can be one of: |
subgroup_access
string |
Who can create subgroups Can be one of: |
calendar_access
string |
Access control for the calendar Can be one of: |
files_access
string |
Access control for the files section Can be one of: |
database_access
string |
Access control for the database section Can be one of: |
wiki_access
string |
Access control for the wiki section Can be one of: |
photos_access
string |
Access control for the photo section Can be one of: |
member_directory_access
string |
Access control for the member directory section Can be one of: |
polls_access
string |
Access control for the polls section Can be one of: |
chat_access
string |
Access control for the chat section Can be one of: |
handle_attachments
string |
Can be one of: |
plain_text_only
boolean |
|
handle_virus
string |
How we handle messages that may have viruses Can be one of: |
locked
boolean |
If the group is locked |
has_cover_photo
boolean |
|
has_icon
boolean |
|
parent_group_id
number |
|
org_id
number |
|
max_photo_size_email
string |
If we resize photos in emails Can be one of: |
max_photo_size_photos
string |
If we resize photos uploaded to the photos section Can be one of: |
max_photo_size_databases
string |
If we resize photos uploaded to database tables Can be one of: |
max_photo_size_wiki_images
string |
If we resize photos uploaded to the wiki Can be one of: |
hash_tags_required
boolean |
whether messages must be tagged or not |
hash_tag_permissions
string |
Can be one of: |
bounce_attachments
boolean |
If out of space, bounce messages with attachments instead of deleting old attachments |
allow_photos_in_files
boolean |
Whether to allow photos in the Files section |
allow_reposts
boolean |
If true, members can repost messages. Only used with premium and enterprise groups. |
min_days_between_reposts
number |
The minimum number of days between reposts. |
max_number_of_reposts
number |
The maximum number of times a member can repost their message. |
email_delivery_default
string |
Default options for new subscriptions Can be one of: |
message_selection_default
string |
Can be one of: |
auto_follow_replies_default
boolean |
|
max_attachment_size_default
string |
Can be one of: |
default_timezone
string |
|
default_time_pref
string |
Can be one of: |
default_date_pref
string |
Can be one of: |
default_monday_start
boolean |
|
disable_edits
boolean |
Disable ability for members to edit messages |
disable_no_email
boolean |
Disable ability for members to be set to No Email |
auto_close_threads
boolean |
Automatically lock threads after a set number of days |
close_threads_after
number |
unit is days |
auto_moderate_threads
boolean |
Automatically moderate threads after a set number of days |
moderate_threads_after
number |
unit is days |
subgroupcategoryid
number |
ID of the subgroupcategory object this group belongs to, if any. |
subs_count
number |
Number of subscribers of the group, both normal and pending. |
pending_subs_count
number |
Number of pending subscribers, for restricted groups. |
pending_msgs_count
number |
Number of pending messages requiring approval. |
open_chats_count
number |
Number of open chats. |
threads_count
number |
Number of message threads in the archives. |
messages_count
number |
Number of messages in the archives. |
org_domain
string |
|
most_recent_message
date |
|
nice_group_name
string |
|
cover_photo_url
string |
|
icon_url
string |
|
group_url
string |
|
allow_parent_subs_to_post
boolean |
If this is a subgroup, we can allow parent subscribers to post messages to it |
send_event_summaries
boolean |
Send calendar event summary emails |
event_summary_schedule
string |
Can be one of: |
Get Group Settings | |
Update Group | |
Create Group | |
Create Sub Group |
Example Response
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
}
The GroupList Object
/getsubgroups return object.
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
data
array of Group objects |
Get Sub Groups |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
}
],
}
The Hashtag Object
The hashtag object.
Response Attributes
id
number |
Unique ID of the hashtag object |
object
string |
hashtag |
created
date |
|
group_id
number |
|
name
string |
|
mods_only_post
boolean |
|
mods_only_replies
boolean |
|
no_email
boolean |
|
moderated
boolean |
|
special
boolean |
|
replies_unmoderated
boolean |
|
locked
boolean |
|
until
string |
Can be one of: |
close_instead_of_delete
boolean |
|
description
string |
|
color_name
string |
Can be one of: |
color_hex
string |
|
reply_to
string |
Can be one of: |
topic_count
number |
|
last_message_date
date |
Example Response
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
The Hashtag List Object
Hashtag List
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
data
array of Hashtag objects |
Get Hashtags |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
The Login Object
The login object.
Response Attributes
token
string |
|
user
User object |
Login |
Example Response
{
"token": "aabbffed2213234",
"user":
{
"id": 12,
"object": "user",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"email": "user@example.com",
"full_name": "",
"user_name": "",
"timezone": "",
"status": "user_status_bounced",
"profile_photo_id": "",
"post_pref": "",
"per_page_pref": "",
"allow_facebook_login": false,
"allow_google_login": false,
"two_factor_enabled": false,
"recovery_codes": "",
"dont_munge_message_id": false,
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"time_pref": "",
"date_pref": "",
"monday_start": false,
"profile_privacy": "",
"default_message_view": "expanded_message_view",
"topics_sort_dir": "",
"topic_sort_dir": "",
"messages_sort_dir": "",
"expanded_messages_sort_dir": "",
"search_sort": "",
"search_sort_dir": "",
"photos_order_by": "",
"photos_sort_dir": "",
"album_order_by": "",
"album_sort_dir": "",
"home_page": "",
},
}
The Member Info Object
The member object.
Response Attributes
id
number |
|
object
string |
member_info |
created
date |
|
updated
date |
|
user_id
number |
|
group_id
number |
|
group_name
string |
|
status
string |
Can be one of: |
post_status
string |
Can be one of: |
email_delivery
string |
Can be one of: |
message_selection
string |
Can be one of: |
auto_follow_replies
boolean |
|
max_attachment_size
string |
Can be one of: |
approved_posts
number |
For PostStatus == SUB_POSTSTATUS_NEWUSERMODERATED, count of consecutive approved posts. Used for Group.UnmoderateUsersAfter |
mod_status
string |
Moderator data Can be one of: |
pending_msg_notify
string |
Can be one of: |
pending_sub_notify
string |
Can be one of: |
sub_notify
string |
Can be one of: |
storage_notify
string |
Can be one of: |
sub_group_notify
string |
Can be one of: |
message_report_notify
string |
Can be one of: |
mod_permissions
string |
Can be more than one of: |
owner_msg_notify
string |
Can be one of: |
email
string |
|
user_status
string |
Can be one of: |
user_name
string |
|
timezone
string |
|
full_name
string |
|
about_me
string |
|
about_format
string |
|
location
string |
|
website
string |
|
profile_photo_id
string |
Empty if no profile photo |
profile_privacy
string |
Can be one of: |
dont_munge_message_id
boolean |
|
moderator_notes
string |
|
moderator_notes_updated
date |
|
use_signature
boolean |
|
use_signature_email
boolean |
Get Member | |
Update Member | |
Send A Bounce Probe | |
Ban Member | |
Send A Confirmation Email | |
Remove Member | |
Bulk Remove Members | |
Approve Pending Member | |
Get Subscription | |
Update Subscription |
Example Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
The Member Info List Object
The Member Info List object contains a list of Member Info objects.
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
data
array of Member Info objects |
Get Members | |
Search Members | |
Get Subscriptions |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
}
The Message Object
The message object.
Response Attributes
id
number |
|
object
string |
message |
created
date |
|
updated
date |
|
user_id
number |
|
group_id
number |
|
topic_id
number |
|
body
string |
body of the message to display, minus any quoted section at the end |
quoted
string |
any quoted section at the end of the message |
remainder
string |
for HTML messages, there may be a remainder part with just closing html tags |
snippet
string |
Snippet, used for collapsed messages display |
subject
string |
Subject of the message |
name
string |
|
profile_photo_url
string |
If not empty then there is a profile photo associated with this author |
is_plain_text
boolean |
|
msg_num
number |
|
has_liked
boolean |
If we've liked this message |
num_likes
number |
Number of likes, not including our own |
is_closed
boolean |
If the thread this message is a part of is closed |
is_moderated
boolean |
If the thread this message is a part of is moderated |
reply_to
string |
ReplyTo for this message (normally Group.ReplyTo unless modified by a tag) Can be one of: |
can_repost
boolean |
if we can repost this message |
hashtags
array of Hashtag objects |
Example Response
{
"id": 12,
"object": "message",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"topic_id": 12,
"body": "",
"quoted": "",
"remainder": "",
"snippet": "",
"subject": "",
"name": "",
"profile_photo_url": "",
"is_plain_text": false,
"msg_num": 12,
"has_liked": false,
"num_likes": 12,
"is_closed": false,
"is_moderated": false,
"reply_to": "group_reply_only_to_sender",
"can_repost": false,
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
The Message List Object
Message List
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
group_perms
Perms object |
|
group
Group object |
|
cover_photo_url
string |
|
sub_data
array of Member Info objects |
|
topic
Topic object |
|
data
array of Message objects |
Get Messages | |
Get Topic |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"group_perms":
{
"object": "perms",
"manage_subgroups": false,
"delete_group": false,
"view_archives": false,
"download_archives": false,
"download_entire_group": false,
"download_members": false,
"view_activity": false,
"manage_hashtags": false,
"manage_integrations": false,
"manage_group_settings": false,
"make_moderator": false,
"manage_member_subscription_options": false,
"manage_pending_members": false,
"remove_members": false,
"ban_members": false,
"manage_group_billing": false,
"manage_group_payments": false,
"edit_archives": false,
"manage_pending_messages": false,
"invite_members": false,
"view_databases": false,
"can_post": false,
"can_vote": false,
"manage_polls": false,
"view_photos": false,
"manage_photos": false,
"manage_members": false,
"view_calendar": false,
"manage_calendar": false,
"view_chats": false,
"manage_chats": false,
"view_member_directory": false,
"view_files": false,
"manage_files": false,
"view_members": false,
"view_wiki": false,
"manage_wiki": false,
"manage_subscription": false,
"view_guidelines": false,
"public_page": false,
"sub_page": false,
"mod_page": false,
"archives_visible": false,
"members_visible": false,
"polls_visible": false,
"chat_visible": false,
"calendar_visible": false,
"files_visible": false,
"database_visible": false,
"photos_visible": false,
"wiki_visible": false,
"member_directory_visible": false,
},
"group":
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
},
"cover_photo_url": "",
"sub_data": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
"topic":
{
"id": 12,
"object": "topic",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"group_subject_tag": "",
"subject": "",
"summary": "",
"name": "",
"profile_photo_url": "",
"num_messages": 12,
"is_sticky": false,
"is_moderated": false,
"is_closed": false,
"has_attachments": false,
"reply_to": "thread_reply_group_default",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
},
"data": [
{
"id": 12,
"object": "message",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"topic_id": 12,
"body": "",
"quoted": "",
"remainder": "",
"snippet": "",
"subject": "",
"name": "",
"profile_photo_url": "",
"is_plain_text": false,
"msg_num": 12,
"has_liked": false,
"num_likes": 12,
"is_closed": false,
"is_moderated": false,
"reply_to": "group_reply_only_to_sender",
"can_repost": false,
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
],
}
The Pagination Object
The pagination object is returned with every API response that takes pagination parameters.
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
}
The Past Member Object
The Past Member object contains the information associated with a member subscription that no longer exists. Because a member may be removed from multiple groups at once, the Past Member object may contain multiple member_info objects.
Response Attributes
id
number |
|
object
string |
past_member |
created
date |
The time that this record was created |
action
string |
The reason for the unsubscription Can be one of: |
member_info
Member Info object |
Example Response
{
"id": 12,
"object": "past_member",
"created": "2009-11-10T15:00:00-08:00",
"action": "spamleft",
"member_info":
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
},
}
The Past Member List Object
The Past Member List object contains a list of Past Member objects.
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
data
array of Past Member objects |
Get Past Members |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "past_member",
"created": "2009-11-10T15:00:00-08:00",
"action": "spamleft",
"member_info":
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
},
}
],
}
The Perms Object
Perms lists all possible Groups.io permissions, and which ones a particular subscription has.
Response Attributes
object
string |
perms |
manage_subgroups
boolean |
Does the user have permission to create and manage subgroups |
delete_group
boolean |
Does the user have permission to delete the group |
view_archives
boolean |
Does the user have permission to view group archives |
download_archives
boolean |
Does the user have permission to download the group message archives |
download_entire_group
boolean |
Does the user have permission to download all aspects of the group |
download_members
boolean |
Does the user have permission to download the member list |
view_activity
boolean |
Does the user have permission to view the activity log |
manage_hashtags
boolean |
Does the user have permission to create and edit hashtags |
manage_integrations
boolean |
Does the user have permission to manage group integrations, including Github, Trello, Facebook, RSS and Email integrations. |
manage_group_settings
boolean |
Does the user have permission to change group settings, including member notices and cover photos |
make_moderator
boolean |
Does the user have permission to make another member a moderator |
manage_member_subscription_options
boolean |
Does the user have permission to change other members' subscription options |
manage_pending_members
boolean |
Does the user have permission to manage pending member subscriptions |
remove_members
boolean |
Does the user have permission to remove members from the group |
ban_members
boolean |
Does the user have permission to ban members from the group |
manage_group_billing
boolean |
Does the user have permission to make changes to group billing, including upgrading the group, paying for the upgrade, and viewing invoices |
manage_group_payments
boolean |
Does the user have permission to manage group payments, including setting up donations |
edit_archives
boolean |
Does the user have permission to edit group messages, including merging topics |
manage_pending_messages
boolean |
Does the user have permission to approve, deny and reject pending messages |
invite_members
boolean |
Does the user have permission to invite people to join the group, and for premium groups, to directly add people to the group |
view_databases
boolean |
Does the user have permission to edit databases |
can_post
boolean |
Does the user have permission to post messages to the group |
can_vote
boolean |
Does the user have permission to vote on polls |
manage_polls
boolean |
Does the user have permission to add or edit polls. The user must have posting privileges, otherwise this will be false |
view_photos
boolean |
Does the user have permission to view photo albums |
manage_photos
boolean |
Does the user have permission to create photo albums and upload photos |
manage_members
boolean |
|
view_calendar
boolean |
done |
manage_calendar
boolean |
|
view_chats
boolean |
done |
manage_chats
boolean |
|
view_member_directory
boolean |
done |
view_files
boolean |
done |
manage_files
boolean |
|
view_members
boolean |
done |
view_wiki
boolean |
done |
manage_wiki
boolean |
|
manage_subscription
boolean |
|
view_guidelines
boolean |
|
public_page
boolean |
|
sub_page
boolean |
|
mod_page
boolean |
|
archives_visible
boolean |
Whether specific functions should be visible. Separate from permissions |
members_visible
boolean |
|
polls_visible
boolean |
|
chat_visible
boolean |
|
calendar_visible
boolean |
|
files_visible
boolean |
|
database_visible
boolean |
|
photos_visible
boolean |
|
wiki_visible
boolean |
|
member_directory_visible
boolean |
Get Permissions |
Example Response
{
"object": "perms",
"manage_subgroups": false,
"delete_group": false,
"view_archives": false,
"download_archives": false,
"download_entire_group": false,
"download_members": false,
"view_activity": false,
"manage_hashtags": false,
"manage_integrations": false,
"manage_group_settings": false,
"make_moderator": false,
"manage_member_subscription_options": false,
"manage_pending_members": false,
"remove_members": false,
"ban_members": false,
"manage_group_billing": false,
"manage_group_payments": false,
"edit_archives": false,
"manage_pending_messages": false,
"invite_members": false,
"view_databases": false,
"can_post": false,
"can_vote": false,
"manage_polls": false,
"view_photos": false,
"manage_photos": false,
"manage_members": false,
"view_calendar": false,
"manage_calendar": false,
"view_chats": false,
"manage_chats": false,
"view_member_directory": false,
"view_files": false,
"manage_files": false,
"view_members": false,
"view_wiki": false,
"manage_wiki": false,
"manage_subscription": false,
"view_guidelines": false,
"public_page": false,
"sub_page": false,
"mod_page": false,
"archives_visible": false,
"members_visible": false,
"polls_visible": false,
"chat_visible": false,
"calendar_visible": false,
"files_visible": false,
"database_visible": false,
"photos_visible": false,
"wiki_visible": false,
"member_directory_visible": false,
}
The Photo Object
The file object.
Response Attributes
id
number |
|
object
string |
photo |
created
date |
|
updated
date |
|
user_id
number |
|
group_id
number |
|
name
string |
|
desc
string |
|
media_type
string |
|
size
number |
|
column |
width - number: |
column |
height - number: |
column |
album_id - number: |
column |
gallery_url - string: |
Example Response
{
"id": 12,
"object": "photo",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"name": "",
"desc": "",
"media_type": "",
"size": 12,
"column:width": 12,
"column:height": 12,
"column:album_id": 12,
"column:gallery_url": "",
}
The Success Object
The success object.
Response Attributes
object
string |
success |
extra
string |
Example Response
{
"object": "success",
"extra": "",
}
The Topic Object
The topic object.
Response Attributes
id
number |
|
object
string |
topic |
created
date |
|
updated
date |
|
group_id
number |
|
group_subject_tag
string |
|
subject
string |
Subject of the topic |
summary
string |
Summary of the first message in the topic |
name
string |
Name of the originator of the topic |
profile_photo_url
string |
If not empty then there is a profile photo associated with this author |
num_messages
number |
Number of messages in the topic |
is_sticky
boolean |
If the topic is sticky |
is_moderated
boolean |
If the topic is moderated |
is_closed
boolean |
If the topic is closed |
has_attachments
boolean |
If the topic has at least one message that has attachments |
reply_to
string |
Can be one of: |
most_recent_message
date |
Date of the most recent message in the topic |
hashtags
array of Hashtag objects |
Example Response
{
"id": 12,
"object": "topic",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"group_subject_tag": "",
"subject": "",
"summary": "",
"name": "",
"profile_photo_url": "",
"num_messages": 12,
"is_sticky": false,
"is_moderated": false,
"is_closed": false,
"has_attachments": false,
"reply_to": "thread_reply_group_default",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
The Topic List Object
Topic List
Response Attributes
object
string |
list |
total_count
number |
The total number of items available |
start_item
number |
The index of the first item, from 0 |
end_item
number |
The index of the last item, from 0 |
has_more
boolean |
Whether there are more items available |
next_page_token
number |
An opaque token that is to be returned to fetch the next set of objects |
group_perms
Perms object |
|
group
Group object |
|
sub_data
array of Member Info objects |
|
data
array of Topic objects |
Get Topics |
Example Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"group_perms":
{
"object": "perms",
"manage_subgroups": false,
"delete_group": false,
"view_archives": false,
"download_archives": false,
"download_entire_group": false,
"download_members": false,
"view_activity": false,
"manage_hashtags": false,
"manage_integrations": false,
"manage_group_settings": false,
"make_moderator": false,
"manage_member_subscription_options": false,
"manage_pending_members": false,
"remove_members": false,
"ban_members": false,
"manage_group_billing": false,
"manage_group_payments": false,
"edit_archives": false,
"manage_pending_messages": false,
"invite_members": false,
"view_databases": false,
"can_post": false,
"can_vote": false,
"manage_polls": false,
"view_photos": false,
"manage_photos": false,
"manage_members": false,
"view_calendar": false,
"manage_calendar": false,
"view_chats": false,
"manage_chats": false,
"view_member_directory": false,
"view_files": false,
"manage_files": false,
"view_members": false,
"view_wiki": false,
"manage_wiki": false,
"manage_subscription": false,
"view_guidelines": false,
"public_page": false,
"sub_page": false,
"mod_page": false,
"archives_visible": false,
"members_visible": false,
"polls_visible": false,
"chat_visible": false,
"calendar_visible": false,
"files_visible": false,
"database_visible": false,
"photos_visible": false,
"wiki_visible": false,
"member_directory_visible": false,
},
"group":
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
},
"sub_data": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
"data": [
{
"id": 12,
"object": "topic",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"group_subject_tag": "",
"subject": "",
"summary": "",
"name": "",
"profile_photo_url": "",
"num_messages": 12,
"is_sticky": false,
"is_moderated": false,
"is_closed": false,
"has_attachments": false,
"reply_to": "thread_reply_group_default",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
],
}
The User Object
The user object.
Response Attributes
id
number |
|
object
string |
user |
created
date |
|
updated
date |
|
email
string |
|
full_name
string |
|
user_name
string |
|
timezone
string |
|
status
string |
Can be one of: |
profile_photo_id
string |
|
post_pref
string |
|
per_page_pref
string |
|
allow_facebook_login
boolean |
|
allow_google_login
boolean |
|
two_factor_enabled
boolean |
|
recovery_codes
string |
|
dont_munge_message_id
boolean |
If true, we do not replace the message-id on any messages you send to groups. Replacing the message-id is a way to force Gmail (and others) to display messages you send. |
about_me
string |
Profile stuff |
about_format
string |
|
location
string |
|
website
string |
|
time_pref
string |
|
date_pref
string |
|
monday_start
boolean |
|
profile_privacy
string |
Who can see this profile |
default_message_view
string |
The view we go into when viewing messages Can be one of: |
topics_sort_dir
string |
Sort direction in threads view |
topic_sort_dir
string |
Sort direction when viewing an individual thread |
messages_sort_dir
string |
Sort direction in messages view |
expanded_messages_sort_dir
string |
Sort direction in expanded messages view |
search_sort
string |
SearchSort is the default sort of search results |
search_sort_dir
string |
Sort direction in search results (does not apply to RelevanceSort) |
photos_order_by
string |
Sort direction in photos view (albums) |
photos_sort_dir
string |
|
album_order_by
string |
Sort direction in photo album view |
album_sort_dir
string |
|
home_page
string |
Which home page to display |
Get User | |
Update User |
Example Response
{
"id": 12,
"object": "user",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"email": "user@example.com",
"full_name": "",
"user_name": "",
"timezone": "",
"status": "user_status_bounced",
"profile_photo_id": "",
"post_pref": "",
"per_page_pref": "",
"allow_facebook_login": false,
"allow_google_login": false,
"two_factor_enabled": false,
"recovery_codes": "",
"dont_munge_message_id": false,
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"time_pref": "",
"date_pref": "",
"monday_start": false,
"profile_privacy": "",
"default_message_view": "expanded_message_view",
"topics_sort_dir": "",
"topic_sort_dir": "",
"messages_sort_dir": "",
"expanded_messages_sort_dir": "",
"search_sort": "",
"search_sort_dir": "",
"photos_order_by": "",
"photos_sort_dir": "",
"album_order_by": "",
"album_sort_dir": "",
"home_page": "",
}
The Wiki Object
The file object.
Response Attributes
id
number |
|
object
string |
wiki |
created
date |
|
updated
date |
|
user_id
number |
|
group_id
number |
|
title
string |
|
desc
string |
|
format
string |
|
locked
boolean |
|
rev_count
number |
Example Response
{
"id": 12,
"object": "wiki",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"title": "",
"desc": "",
"format": "",
"locked": false,
"rev_count": 12,
}
Archives
Get Topics
Get a group's topics or a user's topics. A topic represents one or more messages in a group. Topics are returned using the pagination request and object format.
Permissions NeededYou must have the view_archives
permission to use this call with a group.
group_id
optional number |
ID of the group. Either |
group_name
optional string |
Name of the group. Either |
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Valid values are dependent on the call. |
sort_dir
optional string |
Sort direction. Can be |
extended
optional number |
If 1, then extended information is also returned with the call. |
Returns a topic list object if successful. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional ErrorsNo additional errors |
GET /v1/gettopics
$ curl "https://api.groups.io/v1/gettopics?groupid=2" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"group_perms":
{
"object": "perms",
"manage_subgroups": false,
"delete_group": false,
"view_archives": false,
"download_archives": false,
"download_entire_group": false,
"download_members": false,
"view_activity": false,
"manage_hashtags": false,
"manage_integrations": false,
"manage_group_settings": false,
"make_moderator": false,
"manage_member_subscription_options": false,
"manage_pending_members": false,
"remove_members": false,
"ban_members": false,
"manage_group_billing": false,
"manage_group_payments": false,
"edit_archives": false,
"manage_pending_messages": false,
"invite_members": false,
"view_databases": false,
"can_post": false,
"can_vote": false,
"manage_polls": false,
"view_photos": false,
"manage_photos": false,
"manage_members": false,
"view_calendar": false,
"manage_calendar": false,
"view_chats": false,
"manage_chats": false,
"view_member_directory": false,
"view_files": false,
"manage_files": false,
"view_members": false,
"view_wiki": false,
"manage_wiki": false,
"manage_subscription": false,
"view_guidelines": false,
"public_page": false,
"sub_page": false,
"mod_page": false,
"archives_visible": false,
"members_visible": false,
"polls_visible": false,
"chat_visible": false,
"calendar_visible": false,
"files_visible": false,
"database_visible": false,
"photos_visible": false,
"wiki_visible": false,
"member_directory_visible": false,
},
"group":
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
},
"sub_data": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
"data": [
{
"id": 12,
"object": "topic",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"group_subject_tag": "",
"subject": "",
"summary": "",
"name": "",
"profile_photo_url": "",
"num_messages": 12,
"is_sticky": false,
"is_moderated": false,
"is_closed": false,
"has_attachments": false,
"reply_to": "thread_reply_group_default",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Topic
Get the messages within a specified topic. Messages are returned using the pagination request and object format.
Permissions NeededYou must have the view_archives
permission to use this call with a group.
topic_id
number |
ID of the topic to return. |
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Valid values are dependent on the call. |
sort_dir
optional string |
Sort direction. Can be |
extended
optional number |
If 1, then extended information is also returned with the call. |
Returns the messagelist object. Returns an error if parameters are invalid (e.g. specifying an invalid topic_id). Below are the unique errors to this call.
Additional Errors"bad_request" |
"invalid topic_id" is returned if the topic id is missing or invalid. |
GET /v1/gettopic
$ curl "https://api.groups.io/v1/gettopic?topic_id=12" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"group_perms":
{
"object": "perms",
"manage_subgroups": false,
"delete_group": false,
"view_archives": false,
"download_archives": false,
"download_entire_group": false,
"download_members": false,
"view_activity": false,
"manage_hashtags": false,
"manage_integrations": false,
"manage_group_settings": false,
"make_moderator": false,
"manage_member_subscription_options": false,
"manage_pending_members": false,
"remove_members": false,
"ban_members": false,
"manage_group_billing": false,
"manage_group_payments": false,
"edit_archives": false,
"manage_pending_messages": false,
"invite_members": false,
"view_databases": false,
"can_post": false,
"can_vote": false,
"manage_polls": false,
"view_photos": false,
"manage_photos": false,
"manage_members": false,
"view_calendar": false,
"manage_calendar": false,
"view_chats": false,
"manage_chats": false,
"view_member_directory": false,
"view_files": false,
"manage_files": false,
"view_members": false,
"view_wiki": false,
"manage_wiki": false,
"manage_subscription": false,
"view_guidelines": false,
"public_page": false,
"sub_page": false,
"mod_page": false,
"archives_visible": false,
"members_visible": false,
"polls_visible": false,
"chat_visible": false,
"calendar_visible": false,
"files_visible": false,
"database_visible": false,
"photos_visible": false,
"wiki_visible": false,
"member_directory_visible": false,
},
"group":
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
},
"cover_photo_url": "",
"sub_data": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
"topic":
{
"id": 12,
"object": "topic",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"group_subject_tag": "",
"subject": "",
"summary": "",
"name": "",
"profile_photo_url": "",
"num_messages": 12,
"is_sticky": false,
"is_moderated": false,
"is_closed": false,
"has_attachments": false,
"reply_to": "thread_reply_group_default",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
},
"data": [
{
"id": 12,
"object": "message",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"topic_id": 12,
"body": "",
"quoted": "",
"remainder": "",
"snippet": "",
"subject": "",
"name": "",
"profile_photo_url": "",
"is_plain_text": false,
"msg_num": 12,
"has_liked": false,
"num_likes": 12,
"is_closed": false,
"is_moderated": false,
"reply_to": "group_reply_only_to_sender",
"can_repost": false,
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Messages
Get the messages within a specified group. Messages are returned using the pagination request and object format.
Permissions NeededYou must have the view_archives
permission to use this call with a group.
group_id
optional number |
ID of the group. Either |
group_name
optional string |
Name of the group. Either |
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Valid values are dependent on the call. |
sort_dir
optional string |
Sort direction. Can be |
extended
optional number |
If 1, then extended information is also returned with the call. |
GET /v1/getmessages
$ curl "https://api.groups.io/v1/getmessages?group_id=12" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"group_perms":
{
"object": "perms",
"manage_subgroups": false,
"delete_group": false,
"view_archives": false,
"download_archives": false,
"download_entire_group": false,
"download_members": false,
"view_activity": false,
"manage_hashtags": false,
"manage_integrations": false,
"manage_group_settings": false,
"make_moderator": false,
"manage_member_subscription_options": false,
"manage_pending_members": false,
"remove_members": false,
"ban_members": false,
"manage_group_billing": false,
"manage_group_payments": false,
"edit_archives": false,
"manage_pending_messages": false,
"invite_members": false,
"view_databases": false,
"can_post": false,
"can_vote": false,
"manage_polls": false,
"view_photos": false,
"manage_photos": false,
"manage_members": false,
"view_calendar": false,
"manage_calendar": false,
"view_chats": false,
"manage_chats": false,
"view_member_directory": false,
"view_files": false,
"manage_files": false,
"view_members": false,
"view_wiki": false,
"manage_wiki": false,
"manage_subscription": false,
"view_guidelines": false,
"public_page": false,
"sub_page": false,
"mod_page": false,
"archives_visible": false,
"members_visible": false,
"polls_visible": false,
"chat_visible": false,
"calendar_visible": false,
"files_visible": false,
"database_visible": false,
"photos_visible": false,
"wiki_visible": false,
"member_directory_visible": false,
},
"group":
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
},
"cover_photo_url": "",
"sub_data": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
"topic":
{
"id": 12,
"object": "topic",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"group_subject_tag": "",
"subject": "",
"summary": "",
"name": "",
"profile_photo_url": "",
"num_messages": 12,
"is_sticky": false,
"is_moderated": false,
"is_closed": false,
"has_attachments": false,
"reply_to": "thread_reply_group_default",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
},
"data": [
{
"id": 12,
"object": "message",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"topic_id": 12,
"body": "",
"quoted": "",
"remainder": "",
"snippet": "",
"subject": "",
"name": "",
"profile_photo_url": "",
"is_plain_text": false,
"msg_num": 12,
"has_liked": false,
"num_likes": 12,
"is_closed": false,
"is_moderated": false,
"reply_to": "group_reply_only_to_sender",
"can_repost": false,
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Download Archives
Download Archives Download the archives of a group.
Permissions NeededYou must have the view_archives
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
Returns an error if the parameters are invalid (e.g. specifying an invalid group id).
Notes- The archives will be returned as a .zip file, containing one file in mbox format.
- This is a resource intensive call and may take some time to complete. This API call may be changed in the future to a webhook.
GET /v1/downloadarchives
$ curl "https://api.groups.io/v1/downloadarchives?group_id=2" \
-u AUTHENTICATION_TOKEN:
Drafts
A draft represent a post as it is being written. The sequence to post a message to a group is as follows:
- Create a new draft with /newdraft.
- Compose the message, periodically saving it with /updatedraft.
- Optionally add attachments, using /addattachments.
- Once complete, sending the draft as a message with /postdraft.
There are also several draft maintenance endpoints.
New Draft
Create a new draft object.
Permissions NeededYou must have the can_post
permission to use this call with a group.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
draft_type
required string |
Type of draft. Currently, |
message_id
number |
If this is a 'draft_type_reply', you must specify the ID of the message you are replying to. |
Returns the draft object. Returns an error if parameters are invalid (e.g. specifying an invalid group_id). Below are the unique errors to this call.
Additional Errors"bad_request" |
"invalid group_id" is returned if the group id is missing or invalid. |
"bad_request" |
"invalid draft_type" is returned if the draft type is missing or invalid. |
POST /v1/newdraft
$ curl "https://api.groups.io/v1/newdraft" \
-u AUTHENTICATION_TOKEN: \
-d group_id=12
Example Successful Response
{
"id": 12,
"object": "draft",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"draft_type": "",
"subject": "",
"body": "",
"body_type": "",
"is_special": false,
"num_attachments": 12,
"next_attachment_id": 12,
"message_id": 12,
"bcc_me": false,
"bcc_all": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Update Draft
Update a draft object.
Permissions NeededYou must be the owner of the draft.
POST Parameters
draft_id
required number |
ID of the draft to update. You must be the owner of the draft. |
subject
string |
Subject of the draft. |
body
string |
Body of the draft, in HTML. |
is_special
boolean |
If this post should be sent as a special message (only applies to moderators/owners). |
bcc_me
boolean |
If the sender should be BCC'ed when this draft is posted (only applies to draft_type_reply) |
bcc_all
boolean |
If all moderators should be BCC'ed when this draft is posted (only applies to draft_type_post_to_sub). |
Returns the draft object. Returns an error if parameters are invalid (e.g. specifying an invalid group_id). Below are the unique errors to this call.
Additional Errors"bad_request" |
"invalid draft_id" is returned if the draft id is missing or invalid. |
POST /v1/updatedraft
$ curl "https://api.groups.io/v1/updatedraft" \
-u AUTHENTICATION_TOKEN: \
-d draft_id=12
Example Successful Response
{
"id": 12,
"object": "draft",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"draft_type": "",
"subject": "",
"body": "",
"body_type": "",
"is_special": false,
"num_attachments": 12,
"next_attachment_id": 12,
"message_id": 12,
"bcc_me": false,
"bcc_all": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Drafts
Get drafts. Drafts are returned using the pagination request and object format.
Permissions NeededNone
Query Parameters
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Valid values are dependent on the call. |
sort_dir
optional string |
Sort direction. Can be |
Returns a draft list object if successful. Returns an error if there is an error.
Additional ErrorsNo additional errors |
GET /v1/getdrafts
$ curl "https://api.groups.io/v1/getdrafts" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "draft",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"draft_type": "",
"subject": "",
"body": "",
"body_type": "",
"is_special": false,
"num_attachments": 12,
"next_attachment_id": 12,
"message_id": 12,
"bcc_me": false,
"bcc_all": false,
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Delete Draft
Delete a draft object.
Permissions NeededYou must be the owner of the draft.
POST Parameters
draft_id
required number |
ID of the draft to delete. You must be the owner of the draft. |
Returns HTTP 200 on success. Returns an error if parameters are invalid (e.g. specifying an invalid group_id). Below are the unique errors to this call.a
Additional Errors"bad_request" |
"invalid draft_id" is returned if the draft id is missing or invalid. |
POST /v1/deletedraft
$ curl "https://api.groups.io/v1/deletedraft" \
-u AUTHENTICATION_TOKEN: \
-d draft_id=12
Successful Response
HTTP 200
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Upload Attachments
Upload attachments as part of a draft.
Permissions NeededYou must be the owner of the draft.
POST Parameters
draft_id
required number |
ID of the draft to associate the attachment to. You must be the owner of the draft. |
fileupload
required multipart file |
Multipart file upload of one or more attachments. |
inline
boolean |
If the attachments are inline images. |
Returns a draft attachment list object. Returns an error if parameters are invalid (e.g. specifying an invalid group_id). Below are the unique errors to this call.
Additional Errors"bad_request" |
"invalid draft_id" is returned if the draft id is missing or invalid. |
GET /v1/uploadattachments
$ curl "https://api.groups.io/v1/uploadattachments?draft_id=12" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "draft",
"draft_id": 12,
"url": "",
"filename": "",
"size": 12,
"content_type": "",
"inline": false,
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Attachments
Get attachments.
Permissions NeededYou must be the owner of the draft.
POST Parameters
draft_id
required number |
ID of the draft containing the attachments. You must be the owner of the draft. |
Returns a draft attachment list object. Returns an error if parameters are invalid (e.g. specifying an invalid group_id). Below are the unique errors to this call.
Additional Errors"bad_request" |
"invalid draft_id" is returned if the draft id is missing or invalid. |
GET /v1/getattachments
$ curl "https://api.groups.io/v1/getattachments?draft_id=12" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "draft",
"draft_id": 12,
"url": "",
"filename": "",
"size": 12,
"content_type": "",
"inline": false,
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Delete Attachment
Delete an attachment.
Permissions NeededYou must be the owner of the draft and attachment.
POST Parameters
draft_id
required number |
ID of the draft containing the attachment to delete. You must be the owner of the draft. |
attachment_id
required number |
Attachment ID to delete. |
Returns HTTP 200 on success. Returns an error if parameters are invalid (e.g. specifying an invalid group_id). Below are the unique errors to this call.a
Additional Errors"bad_request" |
"invalid draft_id" is returned if the draft id is missing or invalid. |
"bad_request" |
"invalid attachment_id" is returned if the attachment ID is missing or invalid. |
POST /v1/deleteattachment
$ curl "https://api.groups.io/v1/deleteattachment" \
-u AUTHENTICATION_TOKEN: \
-d draft_id=12
Successful Response
HTTP 200
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Post Draft
Post Draft.
Permissions NeededYou must be the owner of the draft. You must have the can_post
permission in the group.
draft_id
required number |
ID of the draft to post. You must be the owner of the draft. |
Returns a success object on success. Returns an error if parameters are invalid (e.g. specifying an invalid group_id). Below are the unique errors to this call.a
Success Responses"pending post" |
Returned if the post requires approval before it is sent to the group. |
"bad_request" |
"invalid draft_id" is returned if the draft id is missing or invalid. |
"bad_request" |
"no subject" is returned if the draft is missing a subject. |
"bad_request" |
"no body" is returned if the draft is missing a body. |
"bad_request" |
"need hashtag" is returned if the subject needs a hashtag. |
"bad_request" |
"restricted hashtag" is returned if the subject contains a hashtag that the user does not have permission to use. |
"bad_request" |
"mod only hashtag" is returned if the subject contains a hashtag that only moderators/owners can use. |
"bad_request" |
"private message" is returned if the subject starts with "Private:". |
"bad_request" |
"post too big" is returned if the body is too large to send. |
"bad_request" |
"announcement group" is returned if the group is an announcement group and the sender is not a moderator/owner. |
"bad_request" |
"bad attachment" is returned if the message contains an attachment that isn't allowed. |
POST /v1/postdraft
$ curl "https://api.groups.io/v1/postdraft" \
-u AUTHENTICATION_TOKEN: \
-d draft_id=12
Successful Response
HTTP 200
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Events
Get Events
Get a set of events. If group_id
or group_name
are specified, only events from those groups are returned. If neither are specified, events
from all the groups subscribed to by the user represented by the authentication token are returned. Event objects are returned using the pagination request and object format.
start
string |
The earliest date to return events from. In the form YYYY-MM-DD. |
end
optional string |
The latest date to return events from. In the form YYYY-MM-DD. |
group_id
optional number |
ID of the group. If neither |
group_name
optional string |
Name of the group. |
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional opaque |
A cursor for use in pagination. To fetch the next page, set |
GET /v1/events
$ curl "https://api.groups.io/v1/getevents?start=2019-06-19&limit=2" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "event",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"start_time": "2009-11-10T15:00:00-08:00",
"end_time": "2009-11-10T15:00:00-08:00",
"timezone": "",
"all_day": false,
"name": "",
"location": "",
"description": "",
"organizer_name": "",
"organizer_email": "",
"organizer_phone": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"rsvp": false,
"max_attendees": 12,
"additional_guests": false,
"comment_label": "",
"yes_message": "",
"has_rsvp": false,
"rsvp_type": "",
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Feed
Get Feed
Get the list of feeds associated with the user represented by the authentication token. Feed objects are returned using the pagination request and object format.
Query Parameters
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional opaque |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Can be |
sort_dir
optional string |
Sort direction. Can be |
GET /v1/feed
$ curl "https://api.groups.io/v1/getfeed?limit=2&page_token=1" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"object": "feed",
"member_info":
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
},
"group":
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
},
"topics": [
{
"topic":
{
"id": 12,
"object": "topic",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"group_subject_tag": "",
"subject": "",
"summary": "",
"name": "",
"profile_photo_url": "",
"num_messages": 12,
"is_sticky": false,
"is_moderated": false,
"is_closed": false,
"has_attachments": false,
"reply_to": "thread_reply_group_default",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
},
"images": [
{
"id": "",
"object": "attachment",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"user_id": 12,
"thread_id": 12,
"message_num": 12,
"attach_num": 12,
"type": "",
"sub_type": "",
"name": "",
"content": "",
"image_width": 12,
"image_height": 12,
"column:gallery_url": "",
}
],
}
],
"events": [
{
"id": 12,
"object": "event",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"start_time": "2009-11-10T15:00:00-08:00",
"end_time": "2009-11-10T15:00:00-08:00",
"timezone": "",
"all_day": false,
"name": "",
"location": "",
"description": "",
"organizer_name": "",
"organizer_email": "",
"organizer_phone": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"rsvp": false,
"max_attendees": 12,
"additional_guests": false,
"comment_label": "",
"yes_message": "",
"has_rsvp": false,
"rsvp_type": "",
}
],
"files": [
{
"id": 12,
"object": "file",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"name": "",
"desc": "",
"media_type": "",
"size": 12,
"parent_dir_id": 12,
}
],
"photos": [
{
"id": 12,
"object": "photo",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"name": "",
"desc": "",
"media_type": "",
"size": 12,
"column:width": 12,
"column:height": 12,
"column:album_id": 12,
"column:gallery_url": "",
}
],
"chats": [
{
"id": 12,
"object": "chat",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"subject": "",
"desc": "",
"desc_type": "",
"is_closed": false,
"num_messages": 12,
}
],
"wikis": [
{
"id": 12,
"object": "wiki",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"title": "",
"desc": "",
"format": "",
"locked": false,
"rev_count": 12,
}
],
"subgroups": [
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
}
],
"tables": [
{
"id": 12,
"object": "databasetable",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"user_id": 12,
"name": "",
"short_desc": "",
"desc": "",
"desc_type": "",
"edit_table": "",
"edit_rows": "",
"add_rows": "",
"view_table": "",
"num_rows": 12,
"max_row_id": 12,
"num_columns": 12,
"max_col_id": 12,
"display_template": "",
"columns": [
{
"id": 12,
"name": "",
"type": "",
"required": false,
"color": "",
"choices": [""],
"width": 12,
}
],
}
],
"hashtags": [
{
"id": 12,
"object": "hashtag",
"created": "2009-11-10T15:00:00-08:00",
"group_id": 12,
"name": "",
"mods_only_post": false,
"mods_only_replies": false,
"no_email": false,
"moderated": false,
"special": false,
"replies_unmoderated": false,
"locked": false,
"until": "hash_tag_delete_day",
"close_instead_of_delete": false,
"description": "",
"color_name": "tag_antique_pink",
"color_hex": "",
"reply_to": "thread_reply_group_default",
"topic_count": 12,
"last_message_date": "2009-11-10T15:00:00-08:00",
}
],
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Group
Create Group
Create a group.
Permissions NeededNone.
POST Parameters
group_name
required string |
Name of the new group. |
desc
required string |
Description of the new group. |
privacy
required string |
Privacy of the new group, one of |
sub_group_access
required string |
Who can create subgroups, one of |
email_delivery
optional string |
Email delivery, can be |
message_selection
optional string |
Message selection, can be |
auto_follow_replies
optional boolean |
|
max_attachment_size
optional string |
Maximum attachment size, can be |
Returns the group object if the group is successfully created. Returns an error if parameters are invalid (e.g. specifying an invalid group_name). Below are the unique errors to this call.
Additional Errors"bad_request" |
"invalid group_name" is returned if the group name is not a valid group name. |
"bad_request" |
"description too short" is returned if the group description is too short. |
"bad_request" |
"name already taken" is returned if a group with that name already exists. |
- A subscription is created for the user to the group with owner permissions. If
email_delivery
,message_selection
,auto_follow_replies
, ormax_attachment_size
is specified, the subscription will be created with those values.
POST /v1/creategroup
$ curl "https://api.groups.io/v1/creategroup" \
-u AUTHENTICATION_TOKEN: \
-d group_name=apisubgroup \
-d desc=This+is+my+group \
-d privacy=group_privacy_none
Example Successful Response
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Create Sub Group
Create a subgroup.
Permissions NeededYou must have the manage_subgroups
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
sub_group_name
required string |
Name of the new subgroup |
desc
required string |
Description of the new subgroup |
privacy
required string |
Privacy of the new subgroup, one of |
email_delivery
optional string |
Email delivery, can be |
message_selection
optional string |
Message selection, can be |
auto_follow_replies
optional boolean |
|
max_attachment_size
optional string |
Maximum attachment size, can be |
Returns the group object if the subgroup is successfully created. Returns an error if parameters are invalid (e.g. specifying an invalid sub_group_name). Below are the unique errors to this call.
Additional Errors"bad_request" |
"invalid group_name" is returned if the group name is not a valid group nae. |
"bad_request" |
"description too short" is returned if the subgroup description is too short. |
"bad_request" |
"name already taken" is returned if a subgroup with that name already exists. |
"bad_request" |
"group is a subgroup" is returned if the |
- A subscription is created for the user to the group with owner permissions. If
email_delivery
,message_selection
,auto_follow_replies
, ormax_attachment_size
is specified, the subscription will be created with those values.
POST /v1/createsubgroup
$ curl "https://api.groups.io/v1/createsubgroup" \
-u AUTHENTICATION_TOKEN: \
-d group_id=5 \
-d sub_group_name=apisubgroup \
-d desc=This+is+my+subgroup \
-d privacy=sub_group_privacy_none
Example Successful Response
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Group Settings
Get the group settings
Permissions NeededYou must have the manage_group_settings
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
GET /v1/getgroup
$ curl "https://api.groups.io/v1/getgroup?group_id=7" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Sub Groups
Get a group's subgroups.
Permissions NeededYou must have the manage_group_settings
permission to use this call.
group_id
number |
ID of the parent group. Either |
group_name
string |
Name of the parent group. Either |
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional opaque |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Can be |
sort_dir
optional string |
Sort direction. Can be |
GET /v1/getsubgroups
$ curl "https://api.groups.io/v1/getsubgroups?group_id=5" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Update Group
Update a group's settings.
Permissions NeededYou must have the manage_group_settings
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
title
optional string |
Title. |
name
optional string |
Name. |
alias
optional string |
Alias. |
desc
optional string |
Description. |
subject_tag
optional string |
Subject tag. |
footer
optional string |
Message footer. |
website
optional string |
Website. |
announce
optional boolean |
|
moderated
optional boolean |
|
new_users_moderated
optional boolean |
|
unmoderate_users_after
optional number |
|
restricted
optional boolean |
|
allow_non_subs_to_post
optional boolean |
|
force_html_emails
optional boolean |
|
normalize_html_emails
optional boolean |
|
reply_to
optional string |
Can be |
remove_other_reply_options
optional boolean |
|
privacy
optional string |
For a parent/stand alone group, can be For a subgroup, can be |
members_visible
optional string |
Can be |
subgroup_access
optional string |
Can be |
calendar_access
optional string |
Can be |
files_access
optional string |
Can be |
database_access
optional string |
Can be |
wiki_access
optional string |
Can be |
photos_access
optional string |
Can be |
member_directory_access
optional string |
Can be |
polls_access
optional string |
Can be |
chat_access
optional string |
Can be |
handle_attachments
optional string |
Can be |
handle_virus
optional string |
Can be: |
plain_text_only
optional boolean |
|
fig_leaf
optional string |
Can be |
max_photo_size_email
optional string |
Can be |
max_photo_size_photos
optional string |
Can be |
max_photo_size_databases
optional string |
Can be |
max_photo_size_wiki_images
optional string |
Can be |
hash_tags_required
optional boolean |
|
hash_tag_permissions
optional string |
Can be: |
bounce_attachments
optional boolean |
|
allow_photos_in_files
optional boolean |
|
email_delivery_default
optional string |
Email delivery default, can be |
message_selection_default
optional string |
Message selection, can be |
auto_follow_replies_default
optional boolean |
|
max_attachment_size_default
optional string |
Maximum attachment size, can be |
default_timezone
optional string |
Default timezone for new users. For groups with subgroups, only settable on the parent group. The timezone string should corresponding to a file in the IANA Time Zone database. |
disable_edits
optional boolean |
|
disable_no_email
optional boolean |
|
auto_close_threads
optional boolean |
|
close_threads_after
optional number |
|
auto_moderate_threads
optional boolean |
|
moderate_threads_after
optional number |
|
allow_reposts
optional boolean |
If true, members can repost messages. Only used with premium and enterprise groups. |
min_days_between_reposts
optional number |
The minimum number of days between reposts. |
max_number_of_reposts
optional number |
The maximum number of times a member can repost their message. |
lock_group
optional boolean |
Returns the group object if the update succeeded. Returns an error if update parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional Errorsbad_request |
"name exists" is returned if the group name is already taken. |
bad_request |
"invalid group_name" is returned if it's a bad group name. |
- A stand alone/parent group cannot have all the fields
announce
,restricted
,moderated
, andnew_users_moderated
all set to false. If you do this,new_users_moderated
will automatically be set to true. - A stand alone/parent group with private archives cannot later be switched to having public archives.
- A subgroup with archives that are private to the subgroup cannot be later switched to either public archives or to archives that are viewable by the parent group.
- If
disable_no_email
is changed to true, any member subscriptions that were set toemail_delivery_none
will automatically be changed toemail_delivery_special
. Also ifemail_delivery_default
is set toemail_delivery_none
, it will be changed toemail_delivery_special
. - If
force_html_emails
is changed to true, any member subscriptions that were set toemail_delivery_digest
will automatically be changed toemail_delivery_html_digest
. Also ifemail_delivery_default
is set toemail_delivery_digest
, it will be changed toemail_delivery_html_digest
. - If a group has
alias
set, that field cannot be unset/set to blank. - If this is a subgroup, the
name
field has to be of the form ParentGroupName+SubGroupName.
POST /v1/updategroup
$ curl "https://api.groups.io/v1/updategroup" \
-u AUTHENTICATION_TOKEN: \
-d group_id=2 \
-d chat_access=group_access_limited
Example Successful Response
{
"id": 12,
"object": "group",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"title": "The Example Group",
"name": "example",
"alias": "",
"desc": "This is the description for the example group.",
"plain_desc": "This is the description for the example group.",
"subject_tag": "[example]",
"footer": "",
"website": "",
"announce": false,
"moderated": false,
"new_users_moderated": false,
"unmoderate_users_after": 12,
"restricted": false,
"allow_non_subs_to_post": false,
"force_html_emails": false,
"normalize_html_emails": false,
"reply_to": "group_reply_only_to_sender",
"remove_other_reply_options": false,
"privacy": "group_privacy_archives",
"seperate_footers": false,
"allow_downloads": "allow_downloads_by_members",
"members_visible": "group_view_members_moderators",
"subgroup_access": "sub_group_moderators",
"calendar_access": "group_access_limited",
"files_access": "group_access_limited",
"database_access": "group_access_limited",
"wiki_access": "group_access_limited",
"photos_access": "group_access_limited",
"member_directory_access": "group_access_limited",
"polls_access": "polls_access_limited",
"chat_access": "group_access_limited",
"handle_attachments": "group_attachments_bounced",
"plain_text_only": false,
"handle_virus": "handle_virus_block",
"locked": false,
"has_cover_photo": false,
"has_icon": false,
"parent_group_id": 12,
"org_id": 12,
"max_photo_size_email": "max_photo_size_ex_small",
"max_photo_size_photos": "max_photo_size_ex_small",
"max_photo_size_databases": "max_photo_size_ex_small",
"max_photo_size_wiki_images": "max_photo_size_ex_small",
"hash_tags_required": false,
"hash_tag_permissions": "hash_tag_create_mods_bounce",
"bounce_attachments": false,
"allow_photos_in_files": false,
"allow_reposts": false,
"min_days_between_reposts": 12,
"max_number_of_reposts": 12,
"email_delivery_default": "email_delivery_digest",
"message_selection_default": "message_selection_all",
"auto_follow_replies_default": false,
"max_attachment_size_default": "max_attachment_size_large",
"default_timezone": "",
"default_time_pref": "military_time",
"default_date_pref": "international_date",
"default_monday_start": false,
"disable_edits": false,
"disable_no_email": false,
"auto_close_threads": false,
"close_threads_after": 12,
"auto_moderate_threads": false,
"moderate_threads_after": 12,
"subgroupcategoryid": 12,
"subs_count": 12,
"pending_subs_count": 12,
"pending_msgs_count": 12,
"open_chats_count": 12,
"threads_count": 12,
"messages_count": 12,
"org_domain": "",
"most_recent_message": "2009-11-10T15:00:00-08:00",
"nice_group_name": "",
"cover_photo_url": "",
"icon_url": "",
"group_url": "",
"allow_parent_subs_to_post": false,
"send_event_summaries": false,
"event_summary_schedule": "event_summary_monthly",
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Permissions
Get a subscription's permissions. Each subscription grants a set of permissions in a group. The permissions are determined by a whether a subscription is a normal user, a moderator, or an owner, as well as the various group settings. Note: you do not need to be subscribed to the group.
Permissions NeededNone.
Query Parameters
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
GET /v1/getperms
$ curl "https://api.groups.io/v1/getperms?group_id=7" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "perms",
"manage_subgroups": false,
"delete_group": false,
"view_archives": false,
"download_archives": false,
"download_entire_group": false,
"download_members": false,
"view_activity": false,
"manage_hashtags": false,
"manage_integrations": false,
"manage_group_settings": false,
"make_moderator": false,
"manage_member_subscription_options": false,
"manage_pending_members": false,
"remove_members": false,
"ban_members": false,
"manage_group_billing": false,
"manage_group_payments": false,
"edit_archives": false,
"manage_pending_messages": false,
"invite_members": false,
"view_databases": false,
"can_post": false,
"can_vote": false,
"manage_polls": false,
"view_photos": false,
"manage_photos": false,
"manage_members": false,
"view_calendar": false,
"manage_calendar": false,
"view_chats": false,
"manage_chats": false,
"view_member_directory": false,
"view_files": false,
"manage_files": false,
"view_members": false,
"view_wiki": false,
"manage_wiki": false,
"manage_subscription": false,
"view_guidelines": false,
"public_page": false,
"sub_page": false,
"mod_page": false,
"archives_visible": false,
"members_visible": false,
"polls_visible": false,
"chat_visible": false,
"calendar_visible": false,
"files_visible": false,
"database_visible": false,
"photos_visible": false,
"wiki_visible": false,
"member_directory_visible": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Delete Group
Delete a group or a subgroup.
Permissions NeededYou must have the delete_group
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
understand
required string |
The string "I understand". |
reason
optional string |
A reason for deleting the group. |
Returns an error if update parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional Errors"bad_request" |
"understand" is returned if the proper string isn't passed in with the understand POST parameter. |
- Delete is permanent.
- If the group has subgroups, all subgroups are also deleted.
- If the group is not a subgroup (ie is a parent group or a stand alone group), the group name will not be recycled for some time and cannot be used again.
POST /v1/deletegroup
$ curl "https://api.groups.io/v1/deletegroup" \
-u AUTHENTICATION_TOKEN: \
-d group_id=2 \
-d understand=I+understand
Successful Response
HTTP 200
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Login
Login
Authenticate a user and return a login object, including a token that is needed to access other API functions.
Query Parameters
email
required string |
The email address of the user. |
password
required string |
The password of the user. |
domain
optional string |
The domain to log in under. If not specified, |
twofactor
optional number |
If the user account is configured to require two factor authentication, the second factor from an Authenticator app. |
Returns a login object if a valid email address/password pair is provided. Returns an error otherwise.
If the account is configured to require two factor authentication, and the twofactor parameter is not provided, an two_factor_required
is returned.
GET /v1/login
$ curl "https://api.groups.io/v1/login?email=test@example.com&password=123456" \
-u API_KEY:
Example Successful Response
{
"token": "aabbffed2213234",
"user":
{
"id": 12,
"object": "user",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"email": "user@example.com",
"full_name": "",
"user_name": "",
"timezone": "",
"status": "user_status_bounced",
"profile_photo_id": "",
"post_pref": "",
"per_page_pref": "",
"allow_facebook_login": false,
"allow_google_login": false,
"two_factor_enabled": false,
"recovery_codes": "",
"dont_munge_message_id": false,
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"time_pref": "",
"date_pref": "",
"monday_start": false,
"profile_privacy": "",
"default_message_view": "expanded_message_view",
"topics_sort_dir": "",
"topic_sort_dir": "",
"messages_sort_dir": "",
"expanded_messages_sort_dir": "",
"search_sort": "",
"search_sort_dir": "",
"photos_order_by": "",
"photos_sort_dir": "",
"album_order_by": "",
"album_sort_dir": "",
"home_page": "",
},
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Members
Approve Pending Member
Approve a pending member.
Permissions NeededYou must have the manage_pending_members
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
sub_id
required number |
ID of the subscription. |
Returns the subscription object if the approval succeeded. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional Errors- The active Welcome member notice will be sent to the member, if there is one.
- A subscription notification will be sent to all owners/moderators with that notification enabled.
POST /v1/approvemember
$ curl "https://api.groups.io/v1/approvemember" \
-u AUTHENTICATION_TOKEN: \
-d group_id=1 \
-d sub_id=2 \
Example Successful Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Ban Member
Ban this member.
Permissions NeededYou must have the ban_members
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
sub_id
required number |
ID of the subscription. |
Returns the subscription object if the ban succeeded. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional Errorsbad_request |
"user already banned" is returned if the member's |
bad_request |
"member cannot be a moderator or owner" is returned if the member's |
POST /v1/banmember
$ curl "https://api.groups.io/v1/banmember" \
-u AUTHENTICATION_TOKEN: \
-d group_id=1 \
-d sub_id=2 \
Example Successful Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Bulk Remove Members
Remove one or more members from a group.
Permissions NeededYou must have the remove_members
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
emails
required string |
A newline separated list of email addresses to remove. |
Returns a bulk remove results object if the bulk remove succeeded. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional Errors- If a removed member's status is
sub_status_pending
, the active Rejected Subscription member notice will be sent to the member, if there is one. - If a removed member's status is
sub_status_normal
, the active Removed Member notice will be sent to the member, if there is one. - If a removed member's status is
sub_status_banned
, no member notices will be sent out.
POST /v1/bulkremovemembers
$ curl "https://api.groups.io/v1/bulkremovemembers" \
-u AUTHENTICATION_TOKEN: \
-d group_id=1 \
-d $'emails=test@example.com\njohn@smith.com`
TODO: FIX
Example Successful Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Direct Add
Directly add people to a group.
Permissions NeededYou must have the invite_members
permission to use this call. In addition, the group must be a Premium or Enterprise group.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
emails
required string |
A newline separated list of email addresses to add. |
subject
optional string |
Subject line to use for the direct add notification sent to users. |
message
optional string |
Message to include with the direct add notification sent to users. |
subgroupids
optional string |
A comma separated list of IDs of sub groups to also add these people to. |
subgroupnames
optional string |
A comma separated list of names of sub groups to also add these people to. |
Returns a direct add results object if the approval succeeded. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional Errorsbad_request |
"basic group" is returned if the group is not a premium or enterprise group. |
bad_request |
"direct add in subgroup" is returned if the group_id refers to a subgroup and not a main group. |
bad_request |
"group is not a subgroup" is returned if a group ID in |
pending_adds |
Is returned if the adds require approval. The adds will take place once they have been reviewed. |
- For premium groups, there is a limit to the number of direct adds that can be done to a group per-day. Go over that limit and the
pending_adds
message will be returned. There is no daily limit for Enterprise groups. - If a message is specified and there is an active Direct Add member notice, it will be updated with the message.
- If a message is specified and there is no active Direct Add member notice, one will be created.
POST /v1/directadd
$ curl "https://api.groups.io/v1/directadd" \
-u AUTHENTICATION_TOKEN: \
-d group_id=4 \
-d $'emails=test@example.com\nJohn Smith <john@smith.com>`
Example Successful Response
{
"object": "direct_add_results",
"total_emails": 12,
"errors": [
{
"object": "direct_add_error",
"email": "",
"status": "",
"group_id": 12,
}
],
"added_members": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Member
Get a member of a group. A member is represented by a subscription.
Permissions NeededYou must have the view_members
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
sub_id
required number |
ID of the member subscription |
Returns a member info object if successful. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional ErrorsNo additional errors |
GET /v1/getmember
$ curl "https://api.groups.io/v1/getmember?group_id=2&sub_id=46" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Members
Get the members of a group. Each member is represented by a subscription. Subscriptions are returned using the pagination request and object format.
Permissions NeededYou must have the view_members
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
type
optional default is members |
The type of member to be returned, can be |
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional opaque |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Can be |
sort_dir
optional string |
Sort direction. Can be 'asc' or 'desc'. |
Returns a member info list object if successful. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional ErrorsNo additional errors |
- If you do not have the
manage_pending_members
permission, you cannot specify the typepending
. - If you do not have the
ban_members
permission, you cannot specify the typebanned
.
GET /v1/getmembers
$ curl "https://api.groups.io/v1/getmembers?group_id=7" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Past Members
Get the past members of a group. Each member is represented by a past member object. Objects are returned using the pagination request and object format.
Permissions NeededYou must have the view_members
permission to use this call. In addition, the group must be a Premium or Enterprise group.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional opaque |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Can be |
sort_dir
optional string |
Sort direction. Can be 'asc' or 'desc'. |
Returns a past member list object if successful. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional ErrorsNo additional errors |
GET /v1/getpastmembers
$ curl "https://api.groups.io/v1/getpastmembers?group_id=7" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "past_member",
"created": "2009-11-10T15:00:00-08:00",
"action": "spamleft",
"member_info":
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
},
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Remove Member
Remove a member from a group.
Permissions NeededYou must have the remove_members
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
sub_id
required number |
ID of the subscription. |
Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional ErrorsNo additional errors |
- If the member's status is
sub_status_pending
, the active Rejected Subscription member notice will be sent to the member, if there is one. - If the member's status is
sub_status_normal
, the active Removed Member notice will be sent to the member, if there is one. - If the member's status is
sub_status_banned
, no member notices will be sent out.
POST /v1/removemember
$ curl "https://api.groups.io/v1/removemember" \
-u AUTHENTICATION_TOKEN: \
-d group_id=1 \
-d sub_id=2 \
Example Successful Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Search Members
Search the members of a group. The search is over email addresses and full names. Each member is represented by a subscription. Subscriptions are returned using the pagination request and object format.
Permissions NeededYou must have the view_members
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
q
required string |
Email or name fragment to search on. |
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional opaque |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Can be |
sort_dir
optional string |
Sort direction. Can be 'asc' or 'desc'. |
Returns a member info list object if successful. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional ErrorsNo additional errors |
GET /v1/searchmembers
$ curl "https://api.groups.io/v1/searchmembers?group_id=7&q=smith.com" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Send A Bounce Probe
Send a bounce probe.
Permissions NeededYou must have the manage_member_subscription_options
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
sub_id
required number |
ID of the subscription. |
Returns a member info object if successful. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional Errorsbad_request |
"user not bouncing" is returned if the member's |
POST /v1/sendbounceprobe
$ curl "https://api.groups.io/v1/sendbounceprobe" \
-u AUTHENTICATION_TOKEN: \
-d group_id=1 \
-d sub_id=2
Example Successful Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Send A Confirmation Email
Send a confirmation email.
Permissions NeededYou must have the manage_member_subscription_options
permission to use this call.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
sub_id
required number |
ID of the subscription. |
Returns a member info object if successful. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional Errorsbad_request |
"user not unconfirmed" is returned if the member's |
POST /v1/sendconfirmation
$ curl "https://api.groups.io/v1/sendconfirmation" \
-u AUTHENTICATION_TOKEN: \
-d group_id=1 \
-d sub_id=2 \
Example Successful Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Update Member
Change a member's subscription.
Permissions NeededYou must have the manage_member_subscription_options
permission to use this call, in addition to any permissions specified below.
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
sub_id
required number |
ID of the subscription. |
post_status
optional string |
Posting status, can be |
email_delivery
optional string |
Email delivery, can be |
message_selection
optional string |
Message selection, can be |
auto_follow_replies
optional boolean |
|
max_attachment_size
optional string |
Maximum attachment size, can be |
full_name
optional string |
|
moderator_notes
optional string |
|
You must have the `make_moderator` permission in order to set these fields | |
mod_status
optional string |
Moderator status, can be |
mod_permissions
optional string |
Moderator permissions, comma separated list of zero or more of the following: |
pending_msg_notify
optional string |
Notify about pending messages, can be |
pending_sub_notify
optional string |
Notify about pending subscriptions, can be |
sub_notify
optional string |
Notify when someone joins the group, can be |
storage_notify
optional string |
Notify when storage limits are reached, can be |
sub_group_notify
optional string |
Notify when a subgroup is created, can be |
message_report_notify
optional string |
Notify when someone reports a message, can be |
owner_msg_notify
optional string |
Receive messages sent to the +owner address, can be |
Returns a member info object if successful. Returns an error if parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional Errors"bad_request" |
"no owners" is returned if changing the |
- If
email_delivery
is switched from eitheremail_delivery_digest
oremail_delivery_html_digest
to one of the non-digest options, and there are pending digest messages, a digest will be generated at this time.
POST /v1/updatemember
$ curl "https://api.groups.io/v1/updatemember" \
-u AUTHENTICATION_TOKEN: \
-d group_id=1 \
-d sub_id=2 \
-d post_status=sub_poststatus_normal
Example Successful Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
User
Delete Subscription
Delete a subscription.
POST Parameters
sub_id
required |
ID of the subscription to delete |
Returns an error if update parameters are invalid (e.g. specifying an invalid group name). Below are the unique errors to this call.
Additional Errorsbad_request |
"you are the only owner" is returned if you are the only owner of the group. |
- Every group must have at least one owner. If you are the only owner of the group, you cannot delete your subscription.
POST /v1/deletesub
$ curl "https://api.groups.io/v1/deletesub" \
-u AUTHENTICATION_TOKEN: \
-d sub_id=2
Successful Response
HTTP 200
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Subscription
Get a subscription to a single group.
Query Parameters
group_id
number |
ID of the group. Either |
group_name
string |
Name of the group. Either |
GET /v1/getsub
$ curl "https://api.groups.io/v1/getsub?group_id=2" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get Subscriptions
Get the subscriptions associated with the user represented by the authentication token. Subscriptions are returned using the pagination request and object format. Note: these subscriptions are subscription_plus
objects, containing extra data as detailed in that object.
limit
optional default is 10 |
A limit on the number of objects to be returned, between 1 and 100. |
page_token
optional opaque |
A cursor for use in pagination. To fetch the next page, set |
sort_field
optional string |
The field to sort on. Can be |
sort_dir
optional string |
Sort direction. Can be |
GET /v1/getsubs
$ curl "https://api.groups.io/v1/getsubs?limit=2&page_token=1" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"object": "list",
"total_count": 12,
"start_item": 12,
"end_item": 12,
"has_more": false,
"next_page_token": 12,
"data": [
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
],
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Get User
Return the user information associated with an authentication token.
GET /v1/getuser
$ curl "https://api.groups.io/v1/getuser" \
-u AUTHENTICATION_TOKEN:
Example Successful Response
{
"id": 12,
"object": "user",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"email": "user@example.com",
"full_name": "",
"user_name": "",
"timezone": "",
"status": "user_status_bounced",
"profile_photo_id": "",
"post_pref": "",
"per_page_pref": "",
"allow_facebook_login": false,
"allow_google_login": false,
"two_factor_enabled": false,
"recovery_codes": "",
"dont_munge_message_id": false,
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"time_pref": "",
"date_pref": "",
"monday_start": false,
"profile_privacy": "",
"default_message_view": "expanded_message_view",
"topics_sort_dir": "",
"topic_sort_dir": "",
"messages_sort_dir": "",
"expanded_messages_sort_dir": "",
"search_sort": "",
"search_sort_dir": "",
"photos_order_by": "",
"photos_sort_dir": "",
"album_order_by": "",
"album_sort_dir": "",
"home_page": "",
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Update Subscription
Updates a subscription by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
POST Parameters
sub_id
required number |
Subscription ID |
email_delivery
optional string |
Email delivery, can be |
message_selection
optional string |
Message selection, can be |
auto_follow_replies
optional boolean |
|
max_attachment_size
optional string |
Maximum attachment size, can be |
signature
optional string |
Signature to be used for signing messages. |
sig_format
optional string |
Format of the signature, can be |
use_signature
optional boolean |
Whether to use the signature for posts originating from the Groups.io website. |
use_signature_email
optional boolean |
Whether to use the signature for posts originated from email. |
The following are ignored if the subscription `mod_status` is `mod_status_none`. | |
pending_msg_notify
optional string |
Notify about pending messages, can be |
pending_sub_notify
optional string |
Notify about pending subscriptions, can be |
sub_notify
optional string |
Notify when someone joins the group, can be |
storage_notify
optional string |
Notify when storage limits are reached, can be |
sub_group_notify
optional string |
Notify when a subgroup is created, can be |
message_report_notify
optional string |
Notify when someone reports a message, can be |
owner_msg_notify
optional string |
Receive messages sent to the +owner address, can be |
Returns the subscription object if the update succeeded. Returns an error if update parameters are invalid (e.g. specifying an invalid parameter). Below are the unique errors to this call.
Additional Errors- If
email_delivery
is switched from eitheremail_delivery_digest
oremail_delivery_html_digest
to one of the non-digest options, and there are pending digest messages, a digest will be generated at this time.
GET /v1/updatesub
$ curl "https://api.groups.io/v1/updatesub" \
-u AUTHENTICATION_TOKEN: \
-d sub_id=2 \
-d email_delivery=email_delivery_single
Example Successful Response
{
"id": 12,
"object": "member_info",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"user_id": 12,
"group_id": 12,
"group_name": "mygroup",
"status": "sub_status_banned",
"post_status": "sub_poststatus_allowed",
"email_delivery": "email_delivery_digest",
"message_selection": "message_selection_all",
"auto_follow_replies": false,
"max_attachment_size": "max_attachment_size_large",
"approved_posts": 12,
"mod_status": "sub_modstatus_moderator",
"pending_msg_notify": "sub_notify_email",
"pending_sub_notify": "sub_notify_email",
"sub_notify": "sub_notify_email",
"storage_notify": "sub_notify_email",
"sub_group_notify": "sub_notify_email",
"message_report_notify": "sub_notify_email",
"mod_permissions": "sub_perm_banmembers,sub_perm_billing",
"owner_msg_notify": "sub_ownermsg_notify_all",
"email": "joe@example.com",
"user_status": "user_status_bounced",
"user_name": "joe",
"timezone": "",
"full_name": "",
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"profile_photo_id": "",
"profile_privacy": "profile_members",
"dont_munge_message_id": false,
"moderator_notes": "",
"moderator_notes_updated": "2009-11-10T15:00:00-08:00",
"use_signature": false,
"use_signature_email": false,
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}
Update User
Updates the authenticated user by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
POST Parameters
email
optional string |
New email address. The user object will be set to |
password
optional string |
New password. |
timezone
optional string |
New timezone. |
post_pref
optional string |
Posting preference, |
per_page_pref
optional string |
Per page display preference, |
time_pref
optional string |
How to display times, |
date_pref
optional string |
How to display dates, |
dont_munge_message_id
optional boolean |
Whether to change the message-id of any posted messages |
allow_facebook_login
optional boolean |
|
allow_google_login
optional boolean |
Returns the user object if the update succeeded. Returns an error if update parameters are invalid (e.g. specifying an invalid email address). Below are the unique errors to this call.
Additional Errorsbad_request |
"same email" is returned if the new email address is the same as the old email address. |
bad_request |
"invalid email" is returned if the new email address is invalid. |
bad_request |
"email exists" is returned if the new email address already exists. |
bad_request |
"password too short" is returend if the password is too short. |
POST /v1/updateuser
$ curl "https://api.groups.io/v1/updateuser" \
-u AUTHENTICATION_TOKEN: \
-d email=test@example.com
Example Successful Response
{
"id": 12,
"object": "user",
"created": "2009-11-10T15:00:00-08:00",
"updated": "2009-11-10T15:00:00-08:00",
"email": "user@example.com",
"full_name": "",
"user_name": "",
"timezone": "",
"status": "user_status_bounced",
"profile_photo_id": "",
"post_pref": "",
"per_page_pref": "",
"allow_facebook_login": false,
"allow_google_login": false,
"two_factor_enabled": false,
"recovery_codes": "",
"dont_munge_message_id": false,
"about_me": "",
"about_format": "",
"location": "",
"website": "",
"time_pref": "",
"date_pref": "",
"monday_start": false,
"profile_privacy": "",
"default_message_view": "expanded_message_view",
"topics_sort_dir": "",
"topic_sort_dir": "",
"messages_sort_dir": "",
"expanded_messages_sort_dir": "",
"search_sort": "",
"search_sort_dir": "",
"photos_order_by": "",
"photos_sort_dir": "",
"album_order_by": "",
"album_sort_dir": "",
"home_page": "",
}
Example Error Response
{
"object": "error",
"type": "inadequate_permissions",
"extra": ""
}