apps
DELETE
https://linkyhub.net/api/v3 /apps/{appId}/webhook Scope apps:writeRemove the app’s webhook. Deliveries stop.
Parameters
appIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://linkyhub.net/api/v3/apps/{appId}/webhook" \
-H "Authorization: Bearer $LINKYHUB_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Done.
{}Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Example
{
"error": "string",
"message": "string"
}Schema
errorstringrequiredA stable code to branch on, e.g. insufficient_scope.
messagestringrequiredA sentence to show a person.
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
POST
https://linkyhub.net/api/v3 /apps/{appId}/webhook/rotate-secret Scope apps:writeA new signing secret, returned once. Deliveries are signed with both secrets until previousSecretExpiresAt (24 hours).
Parameters
appIdstringpathrequiredCode samples
cURL
curl -X POST "https://linkyhub.net/api/v3/apps/{appId}/webhook/rotate-secret" \
-H "Authorization: Bearer $LINKYHUB_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Done.
{}Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Same as default · DELETE /apps/{appId}/webhook
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
POST
https://linkyhub.net/api/v3 /apps/{appId}/webhook/test Scope apps:writeSend one signed `ping` event to the webhook URL, about your own account. The answer describes the delivery attempt.
Parameters
appIdstringpathrequiredCode samples
cURL
curl -X POST "https://linkyhub.net/api/v3/apps/{appId}/webhook/test" \
-H "Authorization: Bearer $LINKYHUB_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Done.
{}Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Same as default · DELETE /apps/{appId}/webhook
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
Updated