{"items":[{"type":"link","label":"Lockers Webhook APIs","link":"/openapi/webhooklocker","routeSlug":"/openapi/webhooklocker","content":{"contentType":"overview","meta":{"name":"Lockers Webhook APIs"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"webhooklocker.json","url":"/_bundle/openapi/webhooklocker.json?download"},{"kind":"download","label":"webhooklocker.yaml","url":"/_bundle/openapi/webhooklocker.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Lockers Webhook APIs (0.1)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Webhook APIs enable event-driven communication by delivering real-time notifications when specific events occur. Webhook configurations define:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The event types to subscribe to"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target endpoint URL where notifications are delivered"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authorization details required for secure communication"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Once configured, event notifications are triggered and pushed to the registered endpoint whenever the subscribed events occur."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Event notifications are delivered to the configured endpoint when subscribed events occur"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Only events explicitly configured in the webhook are triggered"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Each webhook configuration is uniquely identified by webHookConfigID"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Updates to a webhook configuration immediately affect subsequent event notifications"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Deleted webhook configurations stop receiving event notifications"},"children":[]}]}]}]}]}],"sectionId":"/openapi/webhooklocker"}],"sectionId":"/openapi/webhooklocker"}]}]}},{"type":"group","label":"Webhook","link":"/openapi/webhooklocker/webhook","routeSlug":"/openapi/webhooklocker/webhook","items":[{"label":"Get Applicable Event list for Webhook configuration","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/webhooklocker/webhook/getevents","routeSlug":"/openapi/webhooklocker/webhook/getevents","metadata":{"seo":{"title":"Get Applicable Event list for Webhook configuration","description":"This operation gets the events details"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getEvents","name":"Get Applicable Event list for Webhook configuration","isWebhook":false,"pointer":"/paths/~1api~1v1~1events/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Applicable Event list for Webhook configuration","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This operation gets the events details"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/events","servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/api/v1/events","href":"webhook/getevents","openApiOperationId":"getEvents","summary":"Get Applicable Event list for Webhook configuration"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved all applicable events on which webhook can be configured","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/EventResponse"}},"schemaId":"components/schemas/EventResponse"},{"code":"401","description":"The request could not be authorized.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1events/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/EventResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/EventResponse"}}},{"code":"401","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook/getevents"}],"panels":[]}]},"httpPath":"/api/v1/events"},{"label":"Create Webhook configuration","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/webhooklocker/webhook/postwebhook","routeSlug":"/openapi/webhooklocker/webhook/postwebhook","metadata":{"seo":{"title":"Create Webhook configuration","description":"Webhook provides the mechanism to push locker events as they occur. With help of this user would be able to receive events as they are generated and is received to the end user. This operation creates a webhook configuration. It needs details of events for which webhook tracking is required also the URL with its authorization details to which the locker events be pushed."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"postWebhook","name":"Create Webhook configuration","isWebhook":false,"pointer":"/paths/~1api~1v1~1webhookConfig/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create Webhook configuration","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Webhook provides the mechanism to push locker events as they occur. With help of this user would be able to receive events as they are generated and is received to the end user. This operation creates a webhook configuration. It needs details of events for which webhook tracking is required also the URL with its authorization details to which the locker events be pushed."},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateWebhookRequest"}},"schemaId":"components/schemas/CreateWebhookRequest","pointer":"/paths/~1api~1v1~1webhookConfig/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/webhookConfig","servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateWebhookRequest"}},"responseCodes":["200","401"],"pointer":"/api/v1/webhookConfig","href":"webhook/postwebhook","openApiOperationId":"postWebhook","summary":"Create Webhook configuration"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"schemaId":"components/schemas/CreateWebhookRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateWebhookRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Webhook created successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WebhookResponse"}},"schemaId":"components/schemas/WebhookResponse"},{"code":"401","description":"The request could not be authorized.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1webhookConfig/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/WebhookResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WebhookResponse"}}},{"code":"401","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook/postwebhook"}],"panels":[]}]},"httpPath":"/api/v1/webhookConfig"},{"label":"Get All Webhooks","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/webhooklocker/webhook/getallwebhook","routeSlug":"/openapi/webhooklocker/webhook/getallwebhook","metadata":{"seo":{"title":"Get All Webhooks","description":"This operation gets all the configured webhook and its details."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getAllWebhook","name":"Get All Webhooks","isWebhook":false,"pointer":"/paths/~1api~1v1~1webhookConfig/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get All Webhooks","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This operation gets all the configured webhook and its details."},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/webhookConfig","servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/api/v1/webhookConfig","href":"webhook/getallwebhook","openApiOperationId":"getAllWebhook","summary":"Get All Webhooks"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"all Webhooks get successful","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WebhookResponseAll"}},"schemaId":"components/schemas/WebhookResponseAll"},{"code":"401","description":"The request could not be authorized.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1webhookConfig/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/WebhookResponseAll","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WebhookResponseAll"}}},{"code":"401","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook/getallwebhook"}],"panels":[]}]},"httpPath":"/api/v1/webhookConfig"},{"label":"Update Webhook","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/webhooklocker/webhook/putwebhook","routeSlug":"/openapi/webhooklocker/webhook/putwebhook","metadata":{"seo":{"title":"Update Webhook","description":"This operation updates the webhook details"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"putWebhook","name":"Update Webhook","isWebhook":false,"pointer":"/paths/~1api~1v1~1webhookConfig~1{webHookConfigID}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update Webhook","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This operation updates the webhook details"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"webHookConfigID","in":"path","schemaId":"schema_433","description":"This is unique id of webhook which will get from create webhook config api.","required":true}],"pointer":"/paths/~1api~1v1~1webhookConfig~1{webHookConfigID}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateWebhookRequest"}},"schemaId":"components/schemas/CreateWebhookRequest","pointer":"/paths/~1api~1v1~1webhookConfig~1{webHookConfigID}/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/api/v1/webhookConfig/{webHookConfigID}","servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"parameters":{"path":[{"name":"webHookConfigID","in":"path","required":true,"schemaId":"schema_433"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateWebhookRequest"}},"responseCodes":["200","401"],"pointer":"/api/v1/webhookConfig/{webHookConfigID}","href":"webhook/putwebhook","openApiOperationId":"putWebhook","summary":"Update Webhook"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"schemaId":"components/schemas/CreateWebhookRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateWebhookRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Webhook update is successful","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WebhookResponse"}},"schemaId":"components/schemas/WebhookResponse"},{"code":"401","description":"The request could not be authorized.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1webhookConfig~1{webHookConfigID}/put/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/WebhookResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WebhookResponse"}}},{"code":"401","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook/putwebhook"}],"panels":[]}]},"httpPath":"/api/v1/webhookConfig/{webHookConfigID}"},{"label":"Get Webhook details by Id","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/webhooklocker/webhook/getwebhook","routeSlug":"/openapi/webhooklocker/webhook/getwebhook","metadata":{"seo":{"title":"Get Webhook details by Id","description":"This operation gets the webhook details"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getWebhook","name":"Get Webhook details by Id","isWebhook":false,"pointer":"/paths/~1api~1v1~1webhookConfig~1{webHookConfigID}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Webhook details by Id","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This operation gets the webhook details"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"webHookConfigID","in":"path","schemaId":"schema_433","description":"This is unique id of webhook which will get from create webhook config api.","required":true}],"pointer":"/paths/~1api~1v1~1webhookConfig~1{webHookConfigID}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/webhookConfig/{webHookConfigID}","servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"parameters":{"path":[{"name":"webHookConfigID","in":"path","required":true,"schemaId":"schema_433"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/api/v1/webhookConfig/{webHookConfigID}","href":"webhook/getwebhook","openApiOperationId":"getWebhook","summary":"Get Webhook details by Id"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Webhook details retrieved successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WebhookResponse"}},"schemaId":"components/schemas/WebhookResponse"},{"code":"401","description":"The request could not be authorized.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1webhookConfig~1{webHookConfigID}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/WebhookResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WebhookResponse"}}},{"code":"401","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook/getwebhook"}],"panels":[]}]},"httpPath":"/api/v1/webhookConfig/{webHookConfigID}"},{"label":"Delete Webhook","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/webhooklocker/webhook/deletewebhook","routeSlug":"/openapi/webhooklocker/webhook/deletewebhook","metadata":{"seo":{"title":"Delete Webhook","description":"This operation delete the webhook"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteWebhook","name":"Delete Webhook","isWebhook":false,"pointer":"/paths/~1api~1v1~1webhookConfig~1{webHookConfigID}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete Webhook","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This operation delete the webhook"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"webHookConfigID","in":"path","schemaId":"schema_433","description":"This is unique id of webhook which will get from create webhook config api.","required":true}],"pointer":"/paths/~1api~1v1~1webhookConfig~1{webHookConfigID}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/api/v1/webhookConfig/{webHookConfigID}","servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"parameters":{"path":[{"name":"webHookConfigID","in":"path","required":true,"schemaId":"schema_433"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/api/v1/webhookConfig/{webHookConfigID}","href":"webhook/deletewebhook","openApiOperationId":"deleteWebhook","summary":"Delete Webhook"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Webhook deleted successful"},{"code":"401","description":"The request could not be authorized.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1webhookConfig~1{webHookConfigID}/delete/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook/deletewebhook"}],"panels":[]}]},"httpPath":"/api/v1/webhookConfig/{webHookConfigID}"}],"content":{"contentType":"group","meta":{"name":"Webhook"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Webhook","showPageActions":true},{"nodeType":"markdoc","content":"APIs for managing webhook configurations and event subscriptions. These APIs support operations such as retrieving supported events, creating webhook configurations, fetching webhook details, updating configurations, and deleting webhooks."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/events","summary":"Get Applicable Event list for Webhook configuration","prefix":{"name":"get","color":"get"},"badges":[],"link":"/webhook/getevents","deprecated":false},{"title":"/api/v1/webhookConfig","summary":"Create Webhook configuration","prefix":{"name":"post","color":"post"},"badges":[],"link":"/webhook/postwebhook","deprecated":false},{"title":"/api/v1/webhookConfig","summary":"Get All Webhooks","prefix":{"name":"get","color":"get"},"badges":[],"link":"/webhook/getallwebhook","deprecated":false},{"title":"/api/v1/webhookConfig/{webHookConfigID}","summary":"Update Webhook","prefix":{"name":"put","color":"put"},"badges":[],"link":"/webhook/putwebhook","deprecated":false},{"title":"/api/v1/webhookConfig/{webHookConfigID}","summary":"Get Webhook details by Id","prefix":{"name":"get","color":"get"},"badges":[],"link":"/webhook/getwebhook","deprecated":false},{"title":"/api/v1/webhookConfig/{webHookConfigID}","summary":"Delete Webhook","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/webhook/deletewebhook","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/CreateWebhookRequest":{"id":"components/schemas/CreateWebhookRequest","kind":"json-schema","title":"CreateWebhookRequest","data":{"type":"object","required":["type","name","events","url","authParams"],"properties":{"name":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It indicates the desired name of the webhook "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Max length = 50"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"webhook1"},"type":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It indicates the type of webhook. Currently it takes "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"  and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"locker"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"as value. These event codes are supported for the defined type:"},"children":[]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"type"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"supported events"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"locker"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"reservation, cancelreservation, deposit, pickup, stalemailpickup, onhold"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"tracking"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Manifest, Acceptance, InTransit, DeliveryAttempt, OutForDelivery, Delivered,  Exception, ReturnToSender, ReadyForPickup, PickupMissed, PickedUp"},"children":[]}]}]}]}]}]}],"enum":["locker","tracking"]},"events":{"type":"array","items":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Indicates the list of events for which notifications will be received."},"children":[]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"type"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"supported events"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"locker"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"reservation, cancelreservation, deposit, pickup, stalemailpickup, onhold"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"tracking"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Manifest, Acceptance, InTransit, DeliveryAttempt, OutForDelivery, Delivered,"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Exception, ReturnToSender, ReadyForPickup, PickupMissed, PickedUp"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[]}]}]}]}]}]},"example":["Manifest","InTransit","Delivered"]},"url":{"type":"string","description":"It indicates the customer url to which events should be sent.","example":"https://webhook.com"},"timeOut":{"type":"number","description":"It indicates the timeout value before system waits response from the customer url, here timeout indicates in seconds.","example":5},"status":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It indicates the status of the webhook. By default it takes "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"active"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". To mark it inactive use "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"in-active"},"children":[]}]}]}],"example":"active"},"authParams":{"oneOf":[{"$ref":"#/components/schemas/custom"},{"$ref":"#/components/schemas/basic"},{"$ref":"#/components/schemas/OAuth"}]}},"example":{"name":"dev_webhook1","type":"locker","events":["reservation","cancelreservation","deposit"],"url":"https://webhook.com","timeOut":5,"status":"active","authParams":{"authType":"custom","apiKey":"JsuG7jk","headerName":"webhook1"}}}},"components/schemas/custom":{"id":"components/schemas/custom","kind":"json-schema","title":"custom","data":{"type":"object","properties":{"authType":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It indicates the authoriation mechanism required to authenticate the customer url. here in this case authType is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"custom"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"custom"},"apiKey":{"type":"string","description":"It indicates api key for authentication","example":"JsuG7jk"},"headerName":{"type":"string","description":"It indicates header name for authentication","example":"webhook1"}}}},"components/schemas/basic":{"id":"components/schemas/basic","kind":"json-schema","title":"basic","data":{"type":"object","properties":{"authType":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It indicates the authoriation mechanism required to authenticate the customer url. here in this case authType is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"basic"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"basic"},"clientID":{"type":"string","description":"It indicates client id for authentication","example":"JsuG7jk1fdjfh"},"secret":{"type":"string","description":"It indicates secret key for authentication","example":"nejhdsugduwinduwbduhsidn"}}}},"components/schemas/OAuth":{"id":"components/schemas/OAuth","kind":"json-schema","title":"OAuth","data":{"type":"object","properties":{"authType":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It indicates the authoriation mechanism required to authenticate the customer url. here in this case authType is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"basic"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"oauth"},"clientID":{"type":"string","description":"It indicates client id for authentication","example":"JsuG7jk1fdjfh"},"secret":{"type":"string","description":"It indicates secret key for authentication","example":"nejhdsugduwinduwbduhsidn"},"tokenUrl":{"type":"string","description":"The URL for retrieving a token.","example":"https//webhook1"}}}},"components/schemas/WebhookResponse":{"id":"components/schemas/WebhookResponse","kind":"json-schema","title":"WebhookResponse","data":{"type":"object","properties":{"webHookConfigID":{"type":"string","description":"It is unique id system generates for the created webhook","example":"1Q86AvxyqmA"},"name":{"type":"string","description":"name of the webhook","example":"webhook1"},"type":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It indicates the type of webhook. Currently it takes "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"  and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"locker"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"as value. These event codes are supported for the defined type:"},"children":[]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"type"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"supported events"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"locker"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"reservation, cancelreservation, deposit, pickup, stalemailpickup"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"tracking"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Manifest, Acceptance, InTransit, DeliveryAttempt, OutForDelivery, Delivered,  Exception, ReturnToSender, ReadyForPickup, PickupMissed, PickedUp"},"children":[]}]}]}]}]}]}],"enum":["locker","tracking"]},"events":{"type":"array","items":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Indicates the list of events for which notifications will be received."},"children":[]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"type"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"supported Events"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"locker"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"reservation, cancelreservation, deposit, pickup, stalemailpickup"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"tracking"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Manifest, Acceptance, InTransit, DeliveryAttempt, OutForDelivery, Delivered,"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Exception, ReturnToSender, ReadyForPickup, PickupMissed, PickedUp"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[]}]}]}]}]}]},"example":["Manifest","InTransit","Delivered"]},"url":{"type":"string","description":"URL to which events be pushed to","example":"https://webhook.com"},"timeOut":{"type":"number","description":"It shows the timeout value untill which it waits to receive response from the customer url, here timeout indicates in seconds.","example":5},"status":{"type":"string","description":"status of the webhook","example":"active"},"authParams":{"oneOf":[{"$ref":"#/components/schemas/custom"},{"$ref":"#/components/schemas/basic"},{"$ref":"#/components/schemas/OAuth"}]}},"example":{"webHookConfigID":"DELn75Jx7r3p","name":"dev_webhook1","type":"locker","events":["reservation","cancelreservation","deposit"],"url":"https://webhook.com","authParams":{"authType":"custom","apiKey":"JsuG7jk","headerName":"webhook1"},"timeOut":5,"status":"active","developerPartnerId":"xxxxxx"}}},"components/schemas/WebhookResponseAll":{"id":"components/schemas/WebhookResponseAll","kind":"json-schema","title":"WebhookResponseAll","data":{"type":"object","properties":{"webHookConfigID":{"type":"string","description":"webhook config id of the webhook","example":"1Q86AvxyqmA"},"name":{"type":"string","description":"name of the webhook","example":"webhook1"},"type":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It indicates the type of webhook. Currently it takes "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"  and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"locker"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"as value. These event codes are supported for the defined type:"},"children":[]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"type"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"supported events"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"locker"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"reservation, cancelreservation, deposit, pickup, stalemailpickup"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"tracking"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Manifest, Acceptance, InTransit, DeliveryAttempt, OutForDelivery, Delivered,  Exception, ReturnToSender, ReadyForPickup, PickupMissed, PickedUp"},"children":[]}]}]}]}]}]}],"enum":["locker","tracking"]},"events":{"type":"array","items":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Indicates the list of events for which notifications will be received."},"children":[]}]}]},{"$$mdtype":"Node","type":"table","attributes":{},"children":[{"$$mdtype":"Node","type":"thead","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"type"},"children":[]}]}]},{"$$mdtype":"Node","type":"th","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"supported events"},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tbody","attributes":{},"children":[{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"locker"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"reservation, cancelreservation, deposit, pickup, stalemailpickup"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"tracking"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Manifest, Acceptance, InTransit, DeliveryAttempt, OutForDelivery, Delivered,"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tr","attributes":{},"children":[{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Exception, ReturnToSender, ReadyForPickup, PickupMissed, PickedUp"},"children":[]}]}]},{"$$mdtype":"Node","type":"td","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[]}]}]}]}]}]},"example":["Manifest","InTransit","Delivered"]},"url":{"type":"string","description":"url of the webhook","example":"https://webhook.com"},"timeOut":{"type":"number","description":"timeout seconds","example":5},"status":{"type":"string","description":"status of the webhook","example":"active"},"authParams":{"type":"object","properties":{"authType":{"type":"string","description":"auth type of webhook authentication","example":"custom"},"apiKey":{"type":"string","description":"api key for webhook authentication","example":"jsfjafhjfk"},"headerName":{"type":"string","description":"header name if webhook has any header name","example":"webhook1"}}}},"example":{"data":[{"webHookConfigID":"DELn75Jx7r3p","name":"dev_webhook1","type":"locker","events":["reservation","cancelreservation","deposit"],"url":"https://webhook.com","authParams":{"authType":"custom","apiKey":"JsuG7jk","headerName":"webhook1"},"timeOut":5,"status":"active","developerPartnerId":"xxxxx"},{"webHookConfigID":"K3M01oqmEbe2","name":"dev_webhook1","type":"locker","events":["reservation","cancelreservation","deposit"],"url":"https://webhook.com","authParams":{"authType":"custom","apiKey":"JsuG7jk","headerName":"webhook1"},"timeOut":5,"status":"active","developerPartnerId":"xxxxx"}],"pageInfo":{"total":2,"pages":1,"page":1}}}},"components/schemas/EventResponse":{"id":"components/schemas/EventResponse","kind":"json-schema","title":"EventResponse","data":{"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","description":"event id of an event"},"name":{"type":"string","description":"name of an event"}}},"example":[{"eventId":"reservation","name":"reservation"},{"eventId":"cancelreservation","name":"cancelreservation"},{"eventId":"deposit","name":"deposit"},{"eventId":"pickup","name":"pickup"},{"eventId":"stalemailpickup","name":"stalemailpickup"},{"eventId":"updatereservation","name":"updatereservation"},{"eventId":"onhold","name":"onhold"}]}},"components/schemas/Error":{"id":"components/schemas/Error","kind":"json-schema","title":"Error","data":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}},"required":["message","code"]}},"components/schemas/Empty":{"id":"components/schemas/Empty","kind":"json-schema","title":"Empty Schema","data":{"title":"Empty Schema","type":"object"}},"schema_433":{"kind":"json-schema","data":{"type":"string"},"id":"schema_433"}},"exampleStore":{},"securitySchemeStore":{"basicAuth":{"id":"basicAuth","type":"http","scheme":"basic"},"bearerAuth":{"id":"bearerAuth","type":"http","scheme":"bearer"}},"servers":[{"url":"https://api-sandbox.sendpro360.pitneybowes.com/webhook","description":"Sandbox Server for Webhook API's"},{"url":"https://api.sendpro360.pitneybowes.com/webhook","description":"Production Server for Webhook API's (uses live data)"}]},"options":{"hideDownloadButtons":false,"hideInfoMetadata":true,"jsonSamplesExpandLevel":3,"layout":"three-panel","schemasExpansionLevel":2,"generateCodeSamples":{"languages":[{"lang":"curl"},{"lang":"JavaScript"},{"lang":"Node.js"},{"lang":"Python"},{"lang":"Go"},{"lang":"Java"},{"lang":"C#"}]},"hideSidebar":true,"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/openapi/webhooklocker.json?download"},{"url":"/_bundle/openapi/webhooklocker.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Lockers Webhook APIs","description":"The Webhook APIs enable event-driven communication by delivering real-time notifications when specific events occur. Webhook configurations define:\n- The event types to subscribe to\n- The target endpoint URL where notifications are delivered\n- The authorization details required for secure communication\n\nOnce configured, event notifications are triggered and pushed to the registered endpoint whenever the subscribed events occur.\n  \n- Event notifications are delivered to the configured endpoint when subscribed events occur\n- Only events explicitly configured in the webhook are triggered\n- Each webhook configuration is uniquely identified by webHookConfigID\n- Updates to a webhook configuration immediately affect subsequent event notifications\n- Deleted webhook configurations stop receiving event notifications\n"}},"baseSlug":"/openapi/webhooklocker","routesMapping":{}}