How to test webhooks using Postman
What you’ll need
- Webhook Testing Website for viewing webhook responses
- Muzooka API Key (found in your developer dashboard)
- Muzooka Postman Workspace (you’ll need a Postman account)
- Muzooka API Docs for webhooks (optional for reference for other commands)
- Muzooka Profile ID of the page you want to test with, this is a unique identifier for each profile starting with 'mz'
- Click into your test profile in Muzooka, in the top right you’ll see a link icon ‘Copy ID’, that is your Muzooka Profile ID.
Steps
- Go to Muzooka’s Postman Workspace
- On the left, expand the ‘Muzooka Artist Assets API’, open the ‘Webhooks’ dropdown and click ‘Create a webhook’
- Under the ‘Authorization’ tab enter your Muzooka API key that you’ll find in your developer dashboard. If you don’t see a key, you’ll need to ask the individual who has the key assigned to their account.
- Open https://webhook.site/ and copy the ‘Unique URL’ (ex. https://webhook.site/40f14575-8905-4bbd-8180-ac2e0b31942a)
- Go back to Postman and under the ‘Body’ tab:
- Paste the ‘Unique URL’ into the url field
- Enter your Muzooka Profile ID into the filter field
- Click Send
- Go back to https://webhook.site/ you should now see the webhook has been created for the corresponding profile ID. Any updates to the profile will now fire to this page (this can take up to 15 minutes).
Updating a profile
Now that your setup using Postman and you’ve created a webhook, any profile updates will now be seen on https://webhook.site
- For example, upload a high-res photo (you can use an image from Pexels or Unsplash as a test image) - or update a social link
- After 15-20 minutes, check https://webhook.site. You should see a response with the updated social or photo in the response
Questions or feedback
Contact us on Slack or email our development team at api@muzooka.com