Add or update the membership of a user to the group

POST /group/{id}/{unique_id}

Provides the ability to add or update the membership a user has to a specific group. Note the result is sorted by date joined order.

Path parameters

  • id integer Required

    The group id to add this contact to

  • unique_id integer Required

    The unique_id of the contact, obtained from the people/search or people/directory search endpoints

text/plain

Body Required

  • The date they joined this group (optional))

  • The date they left this group (optional))

  • function integer

    ID of the lookup for the function

  • comma list of IDs from the team skills lookup

  • The permission level for this contact in this group P = Past member V = View only F = Full member A = Administrator

    Values are P, V, F, or A.

  • The permission level for any parent group contact in this group

    Values are P, V, F, or A.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
POST /group/{id}/{unique_id}
curl \
 -X POST https://YOURSITE.infoodle.com/apiv2/group/25/498358 \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: text/plain"
Response examples (200)
{
  "ok": 1,
  "connection_id": 20764,
  "added_older_connection": false
}