Skip to main content

Respond to an entity hook

PATCH 

/entity_hook/:id

Responds to an entity hook. Send this request to the callback_url from the hook notification once your logic has run.

The status you send decides how nullplatform resumes the entity operation. Add callback_body to hand fields back to the entity: they are merged into the update nullplatform sends when it resumes, so a before-hook on application:create can, for example, decide the repository the application is created in.

ℹ️ Note: Only pending hooks can be updated. Fields nullplatform sets itself, such as the entity status, take precedence over callback_body.

Request

Responses

The hook was updated and the callback for the given status was executed.