Create a new face

Create a new face definition by providing necessary configuration details.

POST
/faces
AuthorizationBearer <token>

In: header

Request Body

application/json

JSON object containing the configuration details of the new face.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://api-testnet.dual.network/faces" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "id": "string"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}