Javascript
import Ivy from '@getivy/node-sdk'; const client = new Ivy({ apiKey: 'My API Key', }); const subscription = await client.webhook.subscription.update({ id: {} }); console.log(subscription.id);
{ "id": "<any>", "merchant": "<any>", "merchantApp": "<any>", "url": "<string>", "events": [ "test" ], "createdAt": "<any>", "updatedAt": "<any>" }
Updates the url or subcribed to events for a webhook subscription. This can be used via the app or via the API by providing an API key.
API key for authentication
Returns the updated webhook subscription.
The response is of type object.
object
Was this page helpful?