POST
/
api
/
v1
/
object
/
list
curl --request POST \
  --url https://app.twilix.io/api/v1/object/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "collection": "<string>",
  "limit": 123,
  "sort": [
    {
      "field": "<string>",
      "order": "<string>"
    }
  ]
}'

Body

You can list the objects inside of a collection.

collection
string
required

The collection to list.

limit
integer

The max number of documents to returned

sort
array

A list of sort objects. For example:

[
    {"field": "field1", "order": "asc"},
    {"field": "field2", "order": "desc"}
]
Content-Type
default: "application/json"required

Requires JSON Content Type