hooks

Create Hook

Mint a hook. The plaintext token is returned HERE AND NOWHERE ELSE — only its hash is stored, so a database read can never yield a working endpoint.

post/v1/teams/{team_id}/hooks

Path parameters

team_idstring uuid required

Headers

authorizationstring nullable
x-darwin-tokenstring nullable

Request body

target_kindstring required
target_idstring uuid nullable
purposestring
expectsobject
ttl_hoursinteger
max_submissionsinteger

Response

Successful Response

object required

Changes

No changes recorded. 1 of the 33 revisions has no diff computed, so it could not be searched.