SmugMug

Online photo application

Go to site
Explore
/
Apps
/
SmugMug

SmugMug API Integrations

Build and run workflows using the SmugMug API. Use 1000s of open source triggers and actions across 600+ apps. Or write custom code to integrate any app or API in seconds.

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,
})
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
Get Folder

A folder can contain albums, pages, and other folders. You should only use this endpoint if you need to support older accounts that have not migrated to New SmugMug.

 
Try it

Authentication

SmugMug uses OAuth authentication. When you connect your SmugMug account, Pipedream will open a popup window where you can sign into SmugMug and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any SmugMug API.

Pipedream requests the following authorization scopes when you connect your account:

OAuth Request Configurations:
  1. requestToken
    POSThttps://api.smugmug.com/services/oauth/1.0a/getRequestToken?oauth_callback=https://api.pipedream.com/connect/oauth/oa_GqkiPB/callback
  2. authorization
    GEThttps://api.smugmug.com/services/oauth/1.0a/authorize?client_id={{oauth.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code&scope={{oauth.space_separated_scopes}}&oauth_token={{oauth.token}}&oauth_callback=https://api.pipedream.com/connect/oauth/oa_GqkiPB/callback&Access=Full&Permissions=Modify
  3. accessToken
    POSThttps://api.smugmug.com/services/oauth/1.0a/getAccessTokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code&code={{oauth.code}}