Add a new group

POST /group

Provides the ability to add a new group within a group type

text/plain

Body Required

  • name string

    The name of the group the user will see

  • location string

    A single line to describe the location to the user

  • type_id integer

    The group type id obtained from the grouptypes/list end point

  • locked integer

    Whether this group is locked

    Values are 0 or 1.

  • If this is going to be hiberated, the date it should happen

  • If this is going to be expired, the date it should happen

  • Whether this group is used when listing available groups for tasks

    Values are 0 or 1.

  • Whether this group is used when listing available groups for showing content

    Values are 0 or 1.

  • longitude associated with this group, combines with latitude

  • latitude number

    longitude associated with this group, combines with longitude

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • id integer

      The ID of the newly created group

POST /group
curl \
 -X POST https://YOURSITE.infoodle.com/apiv2/group \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: text/plain"
Response examples (200)
{
  "id": 1232
}