Hooks
Clone a hook
Changed onCreates a copy of an existing hook. The clone is created in the source hook's team by default, or in the team given by teamId in the request body; the caller must have permission to add hooks to the resolved team. Reference replacements (connection, data structure, key) can be supplied to re-point the clone at other resources.
post/api/v3/hooks/{hookId}/clone
Request
- Base URL: https://fusion.adobe.io
- URL: https://fusion.adobe.io/api/v3/hooks/{hookId}/clone
- Auth: HTTP bearer and API key in header x-organization-id and API key in header x-api-key and API key in header x-gw-region
Path parameters
hookIdnumber required
Example:15473
Numeric ID of the hook to clone.
Request body
Example request
{
"name": "My Hook (clone)",
"teamId": 12685,
"replacements": [
{
"kind": "connection"
}
]
}Response
Hook cloned successfully.
Example response
{
"id": 15499,
"name": "My Hook (clone)",
"url": "https://hook.example.com/abc123"
}Changes
- info
endpoint added
- info