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 overcallback_body.
Request
Responses
- 204
- 4XX
- 5XX
The hook was updated and the callback for the given status was executed.
Client error responses due to invalid input or missing parameters.
Server error responses indicating an issue on the API side.