> For the complete documentation index, see [llms.txt](https://picaso-recod.gitbook.io/recod-product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://picaso-recod.gitbook.io/recod-product-documentation/concept-design/architecture.md).

# Architecture

Every time you send image or video data with HTTP POST request API, make sure the token and feature parameters used are not empty. if you do not change the other parameters (confidence, label and threshold) it will be automatically in the default state.

{% hint style="warning" %}
Make sure the token filled in the parameter has not expired. if the token expires refresh the token to get a new token.
{% endhint %}

How our API works

![](/files/Bvf7PAfbHREMNUgYRdw8)

{% hint style="success" %}
You can try the API after registering and also enter the token in your account dashboard.
{% endhint %}

## Verifying Signatures

After you send a POST request with image or video data and the required parameters, the response back will be given in the form of JSON and contains a URL link to download the data.

```
{
    "msisdn": "0811111111",
    "id_camera": "E38433829",
    "timestamp": "2022-02-07 10:01:00",
    "file_name": "202202080518381740233992021-07-14T10-05-12.mp4",
    "nd": "1311651174972",
    "object_list": "default",
    "confidence": false,
    "label": false,
    "threshold": 0.5,
    "image": false,
    "uuid": "166b6b3b-81cb-4d0c-b2df-26c4546d2a01",
    "feature": "object detection",
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NDQzODM4OTUsImlzcyI6IjUyIn0.KNU3IlK3qM6A-2fG9jF8retDOF6DTpSRCr3v39hFeW4"
}
```
