SmugMug

Online photo application

Go to site

Integrate the SmugMug API with the Discord Webhook API

Setup the SmugMug API trigger to run a workflow which integrates with the Discord Webhook API. Pipedream's integration platform allows you to integrate SmugMug 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
Create Album

Creates an album.

 
Try it
Create Smugmug Album

This action creates an album in a folder. Specify the folder and the JSON document (as a Javascript object) in parameters. A minimal object might look like { UrlName: "weddings-smith-2020-06-02", Name: "Mr & Mrs Smith's June Wedding", Privacy: 2, SecurityType: 1 } More fields documented at https://api.smugmug.com/api/v2/folder

 
Try it
Get Album

Gets an album given its id.

 
Try it
Get Authenticated User

Gets details of the authenticated user.

 
Try it

Connect SmugMug

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.smugmug.com/api/v2!authuser`,
  headers: {
    "Accept": `application/json`,
  },
}, {
  token: {
    key: auths.smugmug.oauth_access_token,
    secret: auths.smugmug.oauth_refresh_token,
  },
  oauthSignerUri: auths.smugmug.oauth_signer_uri,
})

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}`,
  },
})