Unsplash

Beautiful Free Images & Pictures

Go to site

Integrate the Unsplash API with the Discord Webhook API

Setup the Unsplash API trigger to run a workflow which integrates with the Discord Webhook API. Pipedream's integration platform allows you to integrate Unsplash and Discord Webhook remarkably fast. Free for developers.

Send Message to Channel

Send a message to the channel tied to your incoming webhook. At least one of message OR embeds is required.

 
Try it

Connect Unsplash

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.unsplash.com/me`,
  headers: {
    Authorization: `Bearer ${auths.unsplash.oauth_access_token}`,
  },
})

Connect Discord Webhook

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://discord.com/api/users/@me`,
  headers: {
    Authorization: `Bearer ${auths.discord_webhook.oauth_access_token}`,
  },
})