Log In

List Activities

get/public/v1/activities

Returns your organisation's activities. An activity is a recurring event whose individual occurrences are its instances. Read an activity's instances from GET /activities/{activity}/instances.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • filter[search]string

    Partial match on the activity name.

    Example:Art Group
  • sortstring

    Sort the results. Prefix with '-' for descending. One of: name.

    Example:name
  • page[size]integer

    Number of results per page. Minimum 1, maximum 100.

    Default:25
  • page[number]integer

    The page number to retrieve. Use the last_page value from the meta response to determine the total number of pages available.

    Default:1

Response

200application/json

Paginated set of ActivityResource

  • dataobject[]required
    ▶Show 6 child attributes
    • idstringrequired
      Example:a1c2t3i4-v5i6-47t8-9y0a-1b2c3d4e5f6a
    • namestringrequired
      Example:Tuesday Art Group
    • timezonestringrequired
      Example:Australia/Sydney
    • detailsstring | nullrequired
      Example:Painting and drawing in the community room.
    • capacityinteger | nullrequired
      Example:12
    • cancelledbooleanrequired

      True once the activity is cancelled. Cancelled activities are still returned, so filter on this before attaching a support to one of their instances.

      Example:false
  • metaobjectrequired
    ▶Show 5 child attributes
    • current_pageintegerrequired≥ 1
    • last_pageintegerrequired≥ 1
    • per_pageintegerrequired≥ 0

      Number of items shown per page.

    • totalintegerrequired≥ 0

      Total number of items being paginated.

    • allowed_sortsstring[]required

      The list of allowed sorts for this endpoint.

  • 401Unauthenticated
  • 403Authorization error