Enable Webhook

Enable a webhook.

/webhooks/enable/:webhook_id

POST https://api.terminal.africa/webhooks/enable/:webhook_id

This endpoint allows you to enable an inactive webhook.

Headers

NameTypeDescription

Authorization*

string

Set value to Bearer SECRET_KEY

{
	status: true,
	message: 'Webhook enabled successfully',
	data: {
		active: true,
		event: ['shipment.created'],
		id: 'dkgcxHosPBMZcL7gDxcC82IFd24W5nBz',
		live: true,
		name: 'Shipment Create',
		url: 'https://terminal-africa.com/webhooks/shipmonk',
		user: '6aVb7978zZYmke2gJPF9WppUEWvvK5OU',
		webhook_id: 'WA-70919934470',
		created_at: '2021-07-13T20:25:53.011Z',
		updated_at: '2021-07-13T20:25:53.011Z'
	}
}

Last updated