πŸ“˜

Your webhook should send http status code 200 in response

Example Code

πŸ‘

Data Format for a Successful Operation

NameTypeDefinition
statusStringA text field containing the status of the operation.
id_genStringA text field representing the unique identifier of the operation or event.
time_genStringA text field indicating the time when the event was generated.
result_pvJPEG Image or MP4 VideoA field containing an image in JPEG or video in MP4 format.
POST /your-webhook-endpoint HTTP/1.1
Content-Type: multipart/form-data; boundary=---------------------------1234567890

-----------------------------1234567890
Content-Disposition: form-data; name="status"

String

-----------------------------1234567890
Content-Disposition: form-data; name="id_gen"

String

-----------------------------1234567890
Content-Disposition: form-data; name="time_gen"

String

-----------------------------1234567890
Content-Disposition: form-data; name="result_pv"; filename="result_pv.jpeg"
Content-Type: image/jpeg

[JPEG Image]
-----------------------------1234567890--

❗️

Data Format for a Error Operation

NameTypeDefinition
statusStringA text field containing the status of the operation.
id_genStringA text field representing the unique identifier of the operation or event.
time_genStringA text field indicating the time when the event was generated.
messageStringA field containing an operation error.
POST /your-webhook-endpoint HTTP/1.1
Content-Type: multipart/form-data; boundary=---------------------------1234567890

-----------------------------1234567890
Content-Disposition: form-data; name="status"

String

-----------------------------1234567890
Content-Disposition: form-data; name="id_gen"

String

-----------------------------1234567890
Content-Disposition: form-data; name="time_gen"

String

-----------------------------1234567890
Content-Disposition: form-data; name="message"

String
-----------------------------1234567890--

StatusTypeDefinition
200StringSuccess
500StringError