v1

latestOpenAPI 3.0.02026-07-24212113249.1 KB
Profiles

List profiles

get/profiles

Query parameters

pageSizenumber

Number of documents that will be returned per page

pagenumber

Page to search, starts on 0

sortBystring

The sort-by field name and order. Format: <field_name>.<asc|desc> (asc for ascending and desc for descending order). If no order is specified, descending order is used.

Headers

organizationstring required

The URL of the end-user web application

Response

Successful resopnse

pageinteger

The current page

pageSizeinteger

The number of objects per page

totalinteger

The total number of objects in the response

pageCountinteger

The total number of pages

pageNumberIsGoodboolean

Page number is valid.

hasPreviousPageboolean

There is a previous page.

hasNextPageboolean

There is a next page.

isFirstPageboolean

This is the first page.

isLastPageboolean

This is the last page.

Example response

{
  "page": 1,
  "pageSize": 20,
  "total": 1,
  "pageCount": 1,
  "pageNumberIsGood": true,
  "isFirstPage": true,
  "isLastPage": true,
  "rows": [
    {
      "_id": "634c7910597a8a4b926b9a9c",
      "organization": "630cfa9a3efc39a89a96d4bb",
      "account": "633c7910597a8a4b926b9a99",
      "avatar": "6501be3595b179fc8e7956bb",
      "created_at": "2022-10-04T18:18:56.436Z",
      "updated_at": "2023-09-14T22:46:38.018Z",
      "custom_fields": {
        "key": "sample name",
        "value": "sample value"
      },
      "locale": "pt-BR",
      "birthday": "1992-09-15T03:00:00.000Z",
      "id": "634c7910597a8a4b926b9a9c"
    }
  ]
}