API ReferenceConsole APIMembers

List all members

GETapi.blutui.com/v1/agencies/{username}/members

List all team members in your agency.

Query parameters

limitinteger | default: 10

Limit the number of objects to return, ranging between 1 and 20.

pageinteger | default: 1

The current page used to display the pagination results.

Response

import Blutui from 'blutui'

const blutui = new Blutui('ey....')

blutui.agency('studio').members.list()
JSON Response
{
  "object": "list",
  "data": [
    {
      "id": "99bc147e-3ad5-4b09-a2e2-b21bd680ad05",
      "object": "member",
      "name": "Tony Stark",
      "avatar": null,
      "email": "tony@stark.com",
      "two_factor_enabled": false,
      "has_full_access": true,
      "role": {
        "id": 1,
        "object": "role",
        "name": "Owner",
        "description": null,
        "is_super": true,
        "created_at": 1690330767,
        "updated_at": 1690330767
      },
      "created_at": 1690330767,
      "updated_at": 1720481455
    },
    {...},
    {...}
  ],
  "meta": {
    "has_more": false,
    "current_page": 1,
    "from": 1,
    "to": 3,
    "total": 3,
    "per_page": 10,
    "last_page": 1
  }
}
objectstring

This will always contain list for this endpoint.

dataarray

An array of up to limit member resources. If no members are available, an empty array is returned.

metaobject

Additional information about the list.

Last updated on