Retrieve a list of faces

Retrieve a list of face definitions, with optional filters for template type, language, limit, and pagination.

GET
/faces
AuthorizationBearer <token>

In: header

Query Parameters

id?string

Filter resources by their unique identifier

org_id?string

Filter resources by the organization they belong to

name?string

Filter resources by their name or title

autocomplete?string

Search term for autocomplete functionality

limit?integer

How many items to return at one time (max 100)

Formatint64
next?string

Pagination token for retrieving the next page of results

order?string

Sort order for the results (ascending or descending)

Value in"asc" | "desc"
sortBy?string

Field name to sort the results by

when_created[$gt]?string

Filter faces created after this date and time

Formatdate-time
when_created[$lt]?string

Filter faces created before this date and time

Formatdate-time
when_created[$gte]?string

Filter faces created on or after this date and time

Formatdate-time
when_created[$lte]?string

Filter faces created on or before this date and time

Formatdate-time

Response Body

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/faces"
{
  "faces": [
    {
      "id": "string",
      "name": "string",
      "url": "string",
      "content": "string",
      "config": {},
      "assets": [
        {
          "id": "string",
          "name": "string",
          "type": "string",
          "url": "string",
          "hash": "string",
          "is_public": true,
          "when_created": "2019-08-24T14:15:22Z"
        }
      ],
      "when_created": "2019-08-24T14:15:22Z",
      "when_modified": "2019-08-24T14:15:22Z"
    }
  ],
  "next": "string"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}