apps

Embed
Preview of the card
<a href="https://linkyhub.net/docs/ref-apps"><img src="https://linkyhub.net/docs/_api/public/orgs/2fd2a4b7-b627-4925-af1e-1c51bf890403/spaces/c4b920fb-a433-40b5-b354-ff84bf0c3eb1/pages/5a24f5f1-6d09-4f36-8593-1b829079aeb6/social-card.svg?v=3e7ae33eec8b" alt="apps" width="600" height="315"></a>
DELETEhttps://linkyhub.net/api/v3/apps/{appId}/webhookScope apps:write

Remove the app’s webhook. Deliveries stop.

Parameters

appIdstringpathrequired

Code 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-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
default An error.
Example
{
  "error": "string",
  "message": "string"
}
Schema
errorstringrequired
A stable code to branch on, e.g. insufficient_scope.
messagestringrequired
A sentence to show a person.
Headers
RateLimit-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
POSThttps://linkyhub.net/api/v3/apps/{appId}/webhook/rotate-secretScope apps:write

A new signing secret, returned once. Deliveries are signed with both secrets until previousSecretExpiresAt (24 hours).

Parameters

appIdstringpathrequired

Code 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-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
default An error.

Same as default · DELETE /apps/{appId}/webhook

Headers
RateLimit-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
POSThttps://linkyhub.net/api/v3/apps/{appId}/webhook/testScope apps:write

Send one signed `ping` event to the webhook URL, about your own account. The answer describes the delivery attempt.

Parameters

appIdstringpathrequired

Code 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-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
default An error.

Same as default · DELETE /apps/{appId}/webhook

Headers
RateLimit-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
Updated