Add Template

This API allows you to fill your database with selfie images or photo images of customers.

Endpoint

POST https://cloud.ooto-ai.com/api/v1.0/add

Parameters

  • templateId: (UUID) Unique identificator. (optional)

  • photo: (Photo) The selfie image file.

Authentication

  • APP-ID: Your application's unique identifier.

  • APP-KEY: Your application's authentication key.

Example

curl -X POST --location 'https://cloud.ooto-ai.com/api/v1.0/add' \
--header 'APP-ID: <put_app_id_here>' \
--header 'APP-KEY: <put_app_key_here>' \
--form 'photo=@"/path/to/photo"' \
--form 'templateId=<UUID>'

Replace «put_app_id_here», «put_app_key_here» with your actual credentials and the path to your selfie image.

Response (HTTP 200)

{
    "transactionId": "0327b518-6e48-451a-a78e-0550aa615fb6",
    "result": {
        "templateId": "76a54c62-8271-4ccc-ae6a-251465d96676"
    }
}

Last updated