This method allows an authenticated member to join a group by creating a profile
This method requires an HTTP POST. All required parameters must be supplied. An intro and answers may be required based on the group the member is joining. To find out if a group requires an intro or answers to questions, query for the group through one of the Groups methods providing setting the fields parameter to join_info and inspecting the join_info in the results. Answers to the questions must be named using the convention answer_{question_id}. Additionally members are limited in the number of groups they may join per day. You can request the remaining number of groups the authorized member may join for the current day with the X-Meta-Request-Headers meta header with a value of "joins-remaining"
If successful, this method returns a 201 Created response with a Location header containing the Profile Get URI to access this profile.
400 Bad requests may be returned under certain conditions along with a response object containing information about the failure. The code property of this may be one of
The details property of this object will contain additional information. The content body of a successful request is the same of that returned by the Profile Get query method.
Join the open group foo-bar
curl -X POST 'https://api.meetup.com/2/profile'
-F 'group_urlname=foo-bar'
-F 'key=YOURKEY'
Join a group named foo-bar that requires answers to questions and an intro
# get the group's join info
curl 'https://api.meetup.com/2/groups/?key=YOURKEY&group_urlname=foo-bar&fields=join_info'
# answer in POST to /2/profile
curl -X POST 'https://api.meetup.com/2/profile'
-F 'group_urlname=foo-bar'
-F 'intro=well hello'
-F 'answer_123=answering question 123'
-F 'answer_456=answer question 456'
-F 'key=YOURKEY'
Update a member's group profile
The gid and mid in this method's path are group and member IDs, both needed to uniquely identify the member profile to be edited. An authenticated user may update their own profile by substituting "self" for the mid. All POST parameters are optional unless required by the group. Only the organizer of the group may edit the member's title and role within the group. Those are the only things the organizer may edit. When requesting to set a role with add_role the member's previous role will be cleared. Members may edit all other fields of their own profiles with the exception of title, add_role, and remove_role. This method requires an HTTP POST.
If successful, this method responds with 200 OK. 401 Unauthorized is returned if the currently authenticated member can not edit the specified profile. The content body is the same as that returned by the Profile Get query method. 400 responses may also contain the error codes listed in the Profile Create method with the addition of invalid_role which is returned when the role adjustment was failed to be applied.
Retrieves a single group profile
Only authorization parameters are needed.
Deletes a member's group profile
All parameters are optional. Only the authorized member is permitted leave groups they do not organize. This method may not be used by organizers to remove members.
If successful, this method responds with 200 OK, otherwise a 400 Bad request is returned or 401 if the profile being deleted does not belong to the authorized member. This method requires HTTP DELETE.
everywhere comments