Deliver response.completed for one Form to a URL (OAuth only)
POST
/hooksAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
hooks:writeRequest body
requiredapplication/jsonformIdstring<uuid>requiredtargetUrlstring<uri>requiredmax length 2048
Responses
201
Subscribed. A 410 Gone from targetUrl deletes the hook.
idstring<uuid>formIdstring<uuid>targetUrlstring<uri>createdAtstring<date-time>400
Invalid body or target URL, or too many subscriptions.
errorstringrequiredShort message; same as message.
codestringrequiredAllowed:
invalid_requestunauthorizedinsufficient_scopenot_foundmethod_not_allowedrate_limitedinternal_errormessagestringrequiredhintstringrequiredHow to resolve the error.
docsstringrequiredWhere the API is described.
401
Missing or invalid token.
errorstringrequiredShort message; same as message.
codestringrequiredAllowed:
invalid_requestunauthorizedinsufficient_scopenot_foundmethod_not_allowedrate_limitedinternal_errormessagestringrequiredhintstringrequiredHow to resolve the error.
docsstringrequiredWhere the API is described.
403
The token lacks the required scope.
errorstringrequiredShort message; same as message.
codestringrequiredAllowed:
invalid_requestunauthorizedinsufficient_scopenot_foundmethod_not_allowedrate_limitedinternal_errormessagestringrequiredhintstringrequiredHow to resolve the error.
docsstringrequiredWhere the API is described.
404
No such Form in this Workspace.
errorstringrequiredShort message; same as message.
codestringrequiredAllowed:
invalid_requestunauthorizedinsufficient_scopenot_foundmethod_not_allowedrate_limitedinternal_errormessagestringrequiredhintstringrequiredHow to resolve the error.
docsstringrequiredWhere the API is described.
429
Rate limited; see the Retry-After header.
errorstringrequiredShort message; same as message.
codestringrequiredAllowed:
invalid_requestunauthorizedinsufficient_scopenot_foundmethod_not_allowedrate_limitedinternal_errormessagestringrequiredhintstringrequiredHow to resolve the error.
docsstringrequiredWhere the API is described.