Unsplash

The Unsplash modules allow you to create, update, list, and delete the collections and photos in your Unsplash account.

Getting Started with Unsplash

Prerequisites

  • An Unsplash account

In order to use Unsplash with Integromat, it is necessary to have an Unsplash account. You can use your Facebook account or create an Unsplash account at unsplash.com/join.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Unsplash to Integromat

To connect your Unsplash account to Integromat you need to obtain the Client ID (Access Key) and Client Secret (Secret Key) from your Unsplash account and insert it in the Create a connection dialog in the Integromat module.

1. Login to your Unsplash account.

2. Create a new application if you have not already created one, accept the terms and conditions, and enter the details of the application. Click Create Application.

unsplash3.png

3. Click the Application Name and copy the Access Key and Secret Key to your clipboard.

unsplash2.png

In the Redirect URI field, enter the URI as https://www.integromat.com/oauth/cb/unsplash and click Authorize.

4. Go to Integromat and open the Unsplash module's Create a connection dialog.

31fIecFo7Z.gif

5. In the Connection name field, enter a name for the connection.

6. In the Client ID and Client Secret fields, enter the client ID and client secret copied in step 3. Click Continue.

7. Confirm the dialog by clicking Continue as <your_username>.

unsplash4.png

The connection has been established. 

Users

Get a User's Profile

Gets a user's public profile.

ConnectionEstablish a connection to your Unsplash account.
UsernameEnter the username of the user whose public profile details you want to retrieve.

Get a User's Portfolio Link

Gets a user's portfolio link.

ConnectionEstablish a connection to your Unsplash account.
UsernameEnter the username of the user whose portfolio link you want to retrieve.

List a User's Photos

List a user's photos.

ConnectionEstablish a connection to your Unsplash account.
UsernameEnter the username of the user whose photos you want to list.
QuantityEnter the number of user's photos to the list. The maximum number of photos you can list is 30.
ResolutionSelect the resolution of the photos:
  • Days
StatsSelect whether to show the stats of each photo:
  • Yes
  • No
  • Not defined
OrientationSelect the orientation of the photo:
  • Landscape
  • Portrait
  • Squarish
Order BySelect the order in which you want to list the photos:
  • Latest
  • Oldest
  • Popular

List  a User's Liked Photos

Lists a user's liked photos.

ConnectionEstablish a connection to your Unsplash account.
UsernameEnter the username of the user who's liked photos you want to list.
OrientationSelect the orientation of the photos you want to list:
  • Landscape
  • Portrait
  • Squarish
Order BySelect the order in which you want to list the photos:
  • Latest
  • Oldest
  • Popular
LimitEnter the maximum number of photos Integromat should return during one scenario execution cycle.

List a User's Collections

Lists a user's collections.

ConnectionEstablish a connection to your Unsplash account.
UsernameEnter the username of the user whose collections you want to list.
LimitEnter the maximum number of collections Integromat should return during one scenario execution cycle.

Get a User's Statistics

Gets a user's statistics.

ConnectionEstablish a connection to your Unsplash account.
UsernameEnter the username of the user whose photos statistics you want to lretrieve.
QuantityEnter the number of user's statistics to retrieve. The maximum number of statistics you can retrieve is 30.
ResolutionSelect the frequency of the stats:
  • Days

Photos

List Photos

List all photos.

ConnectionEstablish a connection to your Unsplash account.
Order BySelect the order in which you want to list the photos:
  • Latest
  • Oldest
  • Popular
LimitEnter the maximum number of photos Integromat should return during one scenario execution cycle.

Get a Photo

Gets a photo.

ConnectionEstablish a connection to your Unsplash account.
Photo IDEnter the Photo ID whose details you want to retrieve.

Search Random Photos

Searches random photos.

ConnectionEstablish a connection to your Unsplash account.
Collection IDs
Enter the Collection IDs separated by comma whose photos you want to search.
FeaturedSelect whether you want to search only the featured photos:
  • Yes
  • No
  • Not defined
Username

Enter the username whose photos you are searching for.

QueryEnter the query, a word, or phrase to search photos based on the specified query.
OrientationSelect the orientation of the photos you want to search:
  • Landscape
  • Portrait
  • Squarish
Content FilterSelect the content option to filter the photos you are searching:
  • High
  • Low
CountEnter the maximum number of photos Integromat should return during one scenario execution cycle.
The maximum number of photos you can limit is 30.

Get a Photo's Statistics

Gets a photo's statistics.

ConnectionEstablish a connection to your Unsplash account.
Photo ID
Enter the Photo ID whose statistics you want to retrieve.
QuantityEnter the number of statistics of a photo you want to retrieve. The maximum number of statistics is 30.
ResolutionSelect the resolution of the photos:
  • Days

Track a Photo Download

Tracks a photo download.

ConnectionEstablish a connection to your Unsplash account.
Photo ID
Enter the Photo ID whose download you want to track.

Like a Photo

Likes a photo.

ConnectionEstablish a connection to your Unsplash account.
Photo ID
Enter the Photo ID you want to like.

Unlike a Photo

Unlikes a photo.

ConnectionEstablish a connection to your Unsplash account.
Photo ID
Enter the Photo ID you want to unlike.

Update a Photo

Updates a photo.

ConnectionEstablish a connection to your Unsplash account.
Photo ID
Enter the Photo ID you want to update.
DescriptionEnter the details of the photos.
Show on ProfileSelect whether the photo is visible to the public:
  • Yes
  • No
  • Not defined
NameEnter the name of the photo.
CityEnter the photo's location's city name.
CountryEnter the photo's location's country name.
LatitudeEnter the photo's location's latitude details.
LongitudeEnter the photo's location's longitude details.
MakeEnter the camera's brand name with which the photo is taken.
ModelEnter the camera model details.
Exposure TimeEnter the camera's exposure time.
Aperture ValueEnter the camera's lens aperture time.
Focal LengthEnter the camera's focal length.
ISO Speed RatingsEnter the camera's ISO speed time.
TagsEnter the keywords as tags to filter the photos when searching.

Search

Search Photos

Searches photos.

ConnectionEstablish a connection to your Unsplash account.
QueryEnter the keyword or phrases as a query to search the photos based on the specified query.
Order BySelect the order in which you want to search the photos:
  • Latest
  • Oldest
  • Popular
Collection IDsEnter the Collection IDs separated by a comma to search only the photos of those collection IDs.
Orientation Select the orientation of the photo:
  • Landscape
  • Portrait
  • Squarish
Content FilterSelect the content option to filter the photos you are searching for:
  • High
  • Low
Color

Select the color of the photos you want to search for.

LimitEnter the maximum number of photos Integromat should return during one scenario execution cycle.

Search Collections

Searches collections.

ConnectionEstablish a connection to your Unsplash account.
QueryEnter the keyword or phrases as a query to search the collections based on the specified query.
LimitEnter the maximum number of collections Integromat should return during one scenario execution cycle.

Search Users

Searches users.

ConnectionEstablish a connection to your Unsplash account.
QueryEnter the keyword or phrases as a query to search the users based on the specified query.
LimitEnter the maximum number of users Integromat should return during one scenario execution cycle.

Collections

List Collections

Lists all collections.

ConnectionEstablish a connection to your Unsplash account.
LimitEnter the maximum number of collections Integromat should return during one scenario execution cycle.

List Featured Collections

Lists featured collections.

ConnectionEstablish a connection to your Unsplash account.
LimitEnter the maximum number of featured collections Integromat should return during one scenario execution cycle.

Get a Collection

Gets a collection.

ConnectionEstablish a connection to your Unsplash account.
Collection ID
Enter the Collection ID whose details you want to retrieve.

List a Collection's Photos

Lists a collection's photos.

ConnectionEstablish a connection to your Unsplash account.
Collection ID
Enter the Collection ID whose photos you want to list.
Order BySelect the order in which you want to list the photos:
  • Latest
  • Oldest
  • Popular
LimitEnter the maximum number of photos Integromat should return during one scenario execution cycle.

List a Collection's Related Collections

Lists a collection's related collections.

ConnectionEstablish a connection to your Unsplash account.
Collection ID
Enter the Collection ID whose related collections you want to list.

Create a Collection

Creates a new collection.

ConnectionEstablish a connection to your Unsplash account.
TitleEnter a name for the new collection
DescriptionEnter the details of the collection.
PrivateSelect whether the collection is private:
  • Yes
  • No
  • Not defined

Update a Collection

Updates an existing collection.

ConnectionEstablish a connection to your Unsplash account.
Collection IDSelect the Collection ID you want to update.
TitleEnter a name for the new collection
DescriptionEnter the details of the collection.
PrivateSelect whether the collection is private:
  • Yes
  • No
  • Not defined

Delete a Collection

Deletes an existing collection.

ConnectionEstablish a connection to your Unsplash account.
Collection IDSelect the Collection ID you want to update.

Add a Photo to a Collection

Adds a photo to a collection.

ConnectionEstablish a connection to your Unsplash account.
Collection IDSelect the Collection ID to which you want to add a photo.
Photo IDSelect the Photo ID which you want to add to the collection.

Remove a Photo from a Collection

Removes a photo from a collection.

ConnectionEstablish a connection to your Unsplash account.
Collection IDSelect the Collection ID from which you want to remove a photo.
Photo IDSelect the Photo ID which you want to remove from the collection.

Other

Make an API Call

Performs an arbitrary authorized API call.

ConnectionEstablish a connection to your Unsplash account.
URL

Enter a path relative to https://api.unsplash.com/. For example: collections/298/add

For the list of available endpoints, refer to the Unsplash API Documentation.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Collections

The following API call returns all the collections from your Unsplash account:

URL:
 /collections

Method:
GET

unsplash6.png

Matches of the search can be found in the module's Output under BundleBody
In our example, 10 collections were returned:

unsplash5.png

Get Stats

Gets a month or total stats. 

ConnectionEstablish a connection to your Unsplash account.
Period

Select the period to retrieve the stats of an account:

  • Month
  • Total

 

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.