API Reference

Webhook

πŸ“˜

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.
res_imageJPEG ImageA field containing an image in JPEG 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="res_image"; filename="image.jpg" 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.
img_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="img_message" String -----------------------------1234567890--

StatusTypeDefinition
200StringSuccess
500StringError