Skip to content

Spotify

Spotify is a popular music streaming service that offers a vast library of songs, podcasts, and playlists for users to enjoy.

Type: spotify/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeControl TypeDescriptionRequired
clientIdClient IdSTRINGTEXTtrue
clientSecretClient SecretSTRINGTEXTtrue

Actions

Play/Resume Playback

Name: startResumePlayback

Start or resume current playback on an active device.

Properties

NameLabelTypeControl TypeDescriptionRequired
deviceIdDevice IDSTRINGTEXTfalse
__itemItem{STRING(context_uri), [STRING](uris), INTEGER(position_ms)}OBJECT_BUILDERnull

Add Items to a Playlist

Name: addItemsToPlaylist

Adds one or more items to your playlist.

Properties

NameLabelTypeControl TypeDescriptionRequired
playlist_idPlaylist IDSTRINGSELECTtrue
urisTracks[STRING]ARRAY_BUILDERtrue
__itemItem{INTEGER(position)}OBJECT_BUILDERnull

Output

Type: OBJECT

Properties

NameTypeControl Type
body{STRING(snapshot_id)}OBJECT_BUILDER

Create Playlist

Name: createPlaylist

Creates a new playlist

Properties

NameLabelTypeControl TypeDescriptionRequired
nameNameSTRINGTEXTThe name for the new playlist.true
descriptionDescriptionSTRINGTEXTThe description for the new playlist.false
publicPublicBOOLEANSELECTThe public status for the new playlist.true
collaborativeCollaborativeBOOLEANSELECTIf the playlist is collaborative or not.true

Output

Type: OBJECT

Properties

NameTypeControl Type
collaborativeBOOLEANSELECT
descriptionSTRINGTEXT
external_urls{STRING(spotify)}OBJECT_BUILDER
hrefSTRINGTEXT
idSTRINGTEXT
nameSTRINGTEXT
typeSTRINGTEXT
uriSTRINGTEXT
owner{STRING(href), STRING(id), STRING(type), STRING(uri)}OBJECT_BUILDER
publicBOOLEANSELECT

Triggers