Smart Cargo Webhooks

Smart Cargo is an async process, so for receive a response and status of created job you must implement webhooks.

Alternatively you can call Job API and check status, but it isn't a best practices.

 

  1. Go to Admin > Smart Cargo > Settings
  2. Enter your listeners address

 

 

Notification Call

 

{

    "name": Enum /*event type*/,

    "description": String,

    "body": {

       "job": {

               "uuid": String

               }

        }

}

 

Events Types

 

  • JOB.SMARTCARGO.QUEUE
  • JOB.SMARTCARGO.RUNNING
  • JOB.SMARTCARGO.TERMINATED
  • JOB.SMARTCARGO.FAILED
Have more questions? Submit a request

Comments

Powered by Zendesk