Profile

Return a paginated list of profile IDs ordered by most recently created first. Use the optional paging parameters (pageSize, pageToken, orderBy) to control pagination and sorting. This endpoint is optimized for browsing newly created profiles and lightweight lookups where only the identifiers are needed before requesting full profile details.

get/v1/Stores/{storeId}/Profiles

Request

  • Base URL
    https://memory.twilio.com
  • URL
    https://memory.twilio.com/v1/Stores/{storeId}/Profiles
  • Auth
    HTTP basic

Query parameters

pageSizeinteger

The maximum number of items to return per page, maximum of 1000.

pageTokenstring

The token for the page of results to retrieve.

orderBy'ASC' | 'DESC'

Either 'ASC' or 'DESC' to sort results ascending or descending respectively.

Response

A list of profile IDs up to a maximum of 1000.

profilesIdentityProfileID[]

Example response

{
  "profiles": [
    "mem_profile_00000000000000000000000000",
    "mem_profile_00000000000000000000000001",
    "mem_profile_00000000000000000000000002",
    "mem_profile_00000000000000000000000003",
    "mem_profile_00000000000000000000000004",
    "mem_profile_00000000000000000000000005",
    "mem_profile_00000000000000000000000006",
    "mem_profile_00000000000000000000000007",
    "mem_profile_00000000000000000000000008",
    "mem_profile_00000000000000000000000009"
  ],
  "meta": {
    "key": "profiles",
    "nextToken": "eyJlYXN0ZXIiOiJlZ2cifQ",
    "previousToken": "eyJlYXN0ZXIiOiJlZ2cifQ"
  }
}

Changes

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • info

      for the query request parameter pageToken, the maxLength was increased from 500 to 4096