Spotify
spotifySpotify is a digital music and podcast streaming service with millions of tracks, personalized playlists, and social sharing features
Acciones disponibles (109)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add items to playlistSPOTIFY_ADD_ITEMS_TO_PLAYLISTAcciónAdd one or more items to a user's playlist.
SPOTIFY_ADD_ITEMS_TO_PLAYLISTAcciónAdd one or more items to a user's playlist.
Parámetros de entrada
urisstring[]A JSON array of the [Spotify URIs](/documentation/web-api/concepts/spotify-uris-ids) to add. For example: `{"uris": ["spotify:track:4iV5W9uYEdYUVa79Axb7Rh","spotify:track:1301WleyT98MSxVHPZCA6M", "spotify:episode:512ojhOuo1ktJprKbVcKyQ"]}`<br/>A maximum of 100 items can be added in one request. _**Note**: if the `uris` parameter is present in the query string, any URIs listed here in the body will be ignored._
positionintegerThe position to insert the items, a zero-based index. For example, to insert the items in the first position: `position=0` ; to insert the items in the third position: `position=2`. If omitted, the items will be appended to the playlist. Items are added in the order they appear in the uris array. For example: `{"uris": ["spotify:track:4iV5W9uYEdYUVa79Axb7Rh","spotify:track:1301WleyT98MSxVHPZCA6M"], "position": 3}`
playlist_idstringObligatorioPlaylist Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add item to playback queueSPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUEAcciónAdd an item to the end of the user's current playback queue. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUEAcciónAdd an item to the end of the user's current playback queue. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
Parámetros de entrada
uristringObligatorioUri
device_idstringDevice Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add items to playlistSPOTIFY_ADD_TRACKS_TO_PLAYLISTAcciónAdd one or more items to a user's playlist. <<DEPRECATED use add_items_to_playlist>>
SPOTIFY_ADD_TRACKS_TO_PLAYLISTAcciónAdd one or more items to a user's playlist. <<DEPRECATED use add_items_to_playlist>>
Parámetros de entrada
urisstring[]A JSON array of the [Spotify URIs](/documentation/web-api/concepts/spotify-uris-ids) to add. For example: `{"uris": ["spotify:track:4iV5W9uYEdYUVa79Axb7Rh","spotify:track:1301WleyT98MSxVHPZCA6M", "spotify:episode:512ojhOuo1ktJprKbVcKyQ"]}`<br/>A maximum of 100 items can be added in one request. _**Note**: if the `uris` parameter is present in the query string, any URIs listed here in the body will be ignored._
positionintegerThe position to insert the items, a zero-based index. For example, to insert the items in the first position: `position=0` ; to insert the items in the third position: `position=2`. If omitted, the items will be appended to the playlist. Items are added in the order they appear in the uris array. For example: `{"uris": ["spotify:track:4iV5W9uYEdYUVa79Axb7Rh","spotify:track:1301WleyT98MSxVHPZCA6M"], "position": 3}`
playlist_idstringObligatorioPlaylist Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Change playlist detailsSPOTIFY_CHANGE_PLAYLIST_DETAILSAcciónChange a playlist's name and public/private state. (the user must, of course, own the playlist.)
SPOTIFY_CHANGE_PLAYLIST_DETAILSAcciónChange a playlist's name and public/private state. (the user must, of course, own the playlist.)
Parámetros de entrada
namestringThe new name for the playlist, for example `"My New Playlist Title"`
publicbooleanIf `true` the playlist will be public, if `false` it will be private.
descriptionstringValue for playlist description as displayed in Spotify Clients and in the Web API.
playlist_idstringObligatorioPlaylist Id
collaborativebooleanIf `true`, the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. <br/> _**Note**: You can only set `collaborative` to `true` on non-public playlists._
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check if user follows artists or usersSPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERSAcciónCheck to see if the current user is following one or more artists or other spotify users.
SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERSAcciónCheck to see if the current user is following one or more artists or other spotify users.
Parámetros de entrada
idsstringObligatorioIds
typestringObligatorioenumType
artistuser
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check if users follow playlistSPOTIFY_CHECK_IF_USERS_FOLLOW_PLAYLISTAcciónCheck to see if one or more spotify users are following a specified playlist.
SPOTIFY_CHECK_IF_USERS_FOLLOW_PLAYLISTAcciónCheck to see if one or more spotify users are following a specified playlist.
Parámetros de entrada
idsstringObligatorioIds
playlist_idstringObligatorioPlaylist Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check user s saved albumsSPOTIFY_CHECK_USER_S_SAVED_ALBUMSAcciónCheck if one or more albums is already saved in the current spotify user's 'your music' library.
SPOTIFY_CHECK_USER_S_SAVED_ALBUMSAcciónCheck if one or more albums is already saved in the current spotify user's 'your music' library.
Parámetros de entrada
idsstringObligatorioIds
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check user s saved audiobooksSPOTIFY_CHECK_USER_S_SAVED_AUDIOBOOKSAcciónCheck if one or more audiobooks are already saved in the current spotify user's library.
SPOTIFY_CHECK_USER_S_SAVED_AUDIOBOOKSAcciónCheck if one or more audiobooks are already saved in the current spotify user's library.
Parámetros de entrada
idsstringObligatorioIds
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check user s saved episodesSPOTIFY_CHECK_USER_S_SAVED_EPISODESAcciónThis spotify api endpoint (in beta) checks if episodes are saved in a user's library. feedback and issues can be shared in the developer forum.
SPOTIFY_CHECK_USER_S_SAVED_EPISODESAcciónThis spotify api endpoint (in beta) checks if episodes are saved in a user's library. feedback and issues can be shared in the developer forum.
Parámetros de entrada
idsstringObligatorioIds
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check user s saved showsSPOTIFY_CHECK_USER_S_SAVED_SHOWSAcciónCheck if one or more shows is already saved in the current spotify user's library.
SPOTIFY_CHECK_USER_S_SAVED_SHOWSAcciónCheck if one or more shows is already saved in the current spotify user's library.
Parámetros de entrada
idsstringObligatorioIds
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check user s saved tracksSPOTIFY_CHECK_USER_S_SAVED_TRACKSAcciónCheck if one or more tracks is already saved in the current spotify user's 'your music' library.
SPOTIFY_CHECK_USER_S_SAVED_TRACKSAcciónCheck if one or more tracks is already saved in the current spotify user's 'your music' library.
Parámetros de entrada
idsstringObligatorioIds
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create playlistSPOTIFY_CREATE_PLAYLISTAcciónCreate a playlist for a spotify user. (the playlist will be empty until you [add tracks](/documentation/web-api/reference/add-tracks-to-playlist).) each user is generally limited to a maximum of 11000 playlists.
SPOTIFY_CREATE_PLAYLISTAcciónCreate a playlist for a spotify user. (the playlist will be empty until you [add tracks](/documentation/web-api/reference/add-tracks-to-playlist).) each user is generally limited to a maximum of 11000 playlists.
Parámetros de entrada
namestringObligatorioThe name for the new playlist, for example `"Your Coolest Playlist"`. This name does not need to be unique; a user may have several playlists with the same name.
publicbooleanDefaults to `true`. If `true` the playlist will be public, if `false` it will be private. To be able to create private playlists, the user must have granted the `playlist-modify-private` [scope](/documentation/web-api/concepts/scopes/#list-of-scopes)
user_idstringObligatorioUser Id
descriptionstringvalue for playlist description as displayed in Spotify Clients and in the Web API.
collaborativebooleanDefaults to `false`. If `true` the playlist will be collaborative. _**Note**: to create a collaborative playlist you must also set `public` to `false`. To create collaborative playlists you must have granted `playlist-modify-private` and `playlist-modify-public` [scopes](/documentation/web-api/concepts/scopes/#list-of-scopes)._
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Follow artists or usersSPOTIFY_FOLLOW_ARTISTS_OR_USERSAcciónAdd the current user as a follower of one or more artists or other spotify users.
SPOTIFY_FOLLOW_ARTISTS_OR_USERSAcciónAdd the current user as a follower of one or more artists or other spotify users.
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the artist or user [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `{ids:["74ASZWbe4lXaubB36ztrGX", "08td7MxkoHQkXnWAYD8d6Q"]}`. A maximum of 50 IDs can be sent in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
typestringObligatorioenumType
artistuser
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Follow playlistSPOTIFY_FOLLOW_PLAYLISTAcciónAdd the current user as a follower of a playlist.
SPOTIFY_FOLLOW_PLAYLISTAcciónAdd the current user as a follower of a playlist.
Parámetros de entrada
publicbooleanDefaults to `true`. If `true` the playlist will be included in user"s public playlists, if `false` it will remain private.
playlist_idstringObligatorioPlaylist Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get a chapterSPOTIFY_GET_A_CHAPTERAcciónGet spotify catalog information for a single audiobook chapter. chapters are only available within the us, uk, canada, ireland, new zealand and australia markets.
SPOTIFY_GET_A_CHAPTERAcciónGet spotify catalog information for a single audiobook chapter. chapters are only available within the us, uk, canada, ireland, new zealand and australia markets.
Parámetros de entrada
idstringObligatorioId
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get albumSPOTIFY_GET_ALBUMAcciónGet spotify catalog information for a single album.
SPOTIFY_GET_ALBUMAcciónGet spotify catalog information for a single album.
Parámetros de entrada
idstringObligatorioId
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get album tracksSPOTIFY_GET_ALBUM_TRACKSAcciónGet spotify catalog information about an album’s tracks. optional parameters can be used to limit the number of tracks returned.
SPOTIFY_GET_ALBUM_TRACKSAcciónGet spotify catalog information about an album’s tracks. optional parameters can be used to limit the number of tracks returned.
Parámetros de entrada
idstringObligatorioId
limitintegerLimit
marketstringMarket
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get current user s playlistsSPOTIFY_GET_A_LIST_OF_CURRENT_USERS_PLAYLISTSAcciónGet a list of the playlists owned or followed by the current spotify user. <<DEPRECATED use get_current_user_s_playlists>>
SPOTIFY_GET_A_LIST_OF_CURRENT_USERS_PLAYLISTSAcciónGet a list of the playlists owned or followed by the current spotify user. <<DEPRECATED use get_current_user_s_playlists>>
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get artistSPOTIFY_GET_AN_ARTISTAcciónGet spotify catalog information for a single artist identified by their unique spotify id. <<DEPRECATED use get_artist>>
SPOTIFY_GET_AN_ARTISTAcciónGet spotify catalog information for a single artist identified by their unique spotify id. <<DEPRECATED use get_artist>>
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get artist s albumsSPOTIFY_GET_AN_ARTISTS_ALBUMSAcciónGet spotify catalog information about an artist's albums. <<DEPRECATED use get_artist_s_albums>>
SPOTIFY_GET_AN_ARTISTS_ALBUMSAcciónGet spotify catalog information about an artist's albums. <<DEPRECATED use get_artist_s_albums>>
Parámetros de entrada
idstringObligatorioId
limitintegerLimit
marketstringMarket
offsetintegerOffset
include_groupsstringInclude Groups
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get artist s top tracksSPOTIFY_GET_AN_ARTISTS_TOP_TRACKSAcciónGet spotify catalog information about an artist's top tracks by country. <<DEPRECATED use get_artist_s_top_tracks>>
SPOTIFY_GET_AN_ARTISTS_TOP_TRACKSAcciónGet spotify catalog information about an artist's top tracks by country. <<DEPRECATED use get_artist_s_top_tracks>>
Parámetros de entrada
idstringObligatorioId
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get an audiobookSPOTIFY_GET_AN_AUDIOBOOKAcciónGet spotify catalog information for a single audiobook. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets.
SPOTIFY_GET_AN_AUDIOBOOKAcciónGet spotify catalog information for a single audiobook. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets.
Parámetros de entrada
idstringObligatorioId
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get artistSPOTIFY_GET_ARTISTAcciónGet spotify catalog information for a single artist identified by their unique spotify id.
SPOTIFY_GET_ARTISTAcciónGet spotify catalog information for a single artist identified by their unique spotify id.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get artist s albumsSPOTIFY_GET_ARTIST_S_ALBUMSAcciónGet spotify catalog information about an artist's albums.
SPOTIFY_GET_ARTIST_S_ALBUMSAcciónGet spotify catalog information about an artist's albums.
Parámetros de entrada
idstringObligatorioId
limitintegerLimit
marketstringMarket
offsetintegerOffset
include_groupsstringInclude Groups
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get artist s related artistsSPOTIFY_GET_ARTIST_S_RELATED_ARTISTSAcciónGet spotify catalog information about artists similar to a given artist. similarity is based on analysis of the spotify community's listening history.
SPOTIFY_GET_ARTIST_S_RELATED_ARTISTSAcciónGet spotify catalog information about artists similar to a given artist. similarity is based on analysis of the spotify community's listening history.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get artist s top tracksSPOTIFY_GET_ARTIST_S_TOP_TRACKSAcciónGet spotify catalog information about an artist's top tracks by country.
SPOTIFY_GET_ARTIST_S_TOP_TRACKSAcciónGet spotify catalog information about an artist's top tracks by country.
Parámetros de entrada
idstringObligatorioId
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get show episodesSPOTIFY_GET_A_SHOWS_EPISODESAcciónGet spotify catalog information about an show’s episodes. optional parameters can be used to limit the number of episodes returned. <<DEPRECATED use get_show_episodes>>
SPOTIFY_GET_A_SHOWS_EPISODESAcciónGet spotify catalog information about an show’s episodes. optional parameters can be used to limit the number of episodes returned. <<DEPRECATED use get_show_episodes>>
Parámetros de entrada
idstringObligatorioId
limitintegerLimit
marketstringMarket
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get audiobook chaptersSPOTIFY_GET_AUDIOBOOK_CHAPTERSAcciónGet spotify catalog information about an audiobook's chapters. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets.
SPOTIFY_GET_AUDIOBOOK_CHAPTERSAcciónGet spotify catalog information about an audiobook's chapters. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets.
Parámetros de entrada
idstringObligatorioId
limitintegerLimit
marketstringMarket
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get available devicesSPOTIFY_GET_A_USERS_AVAILABLE_DEVICESAcciónGet information about a user’s available spotify connect devices. some device models are not supported and will not be listed in the api response. <<DEPRECATED use get_available_devices>>
SPOTIFY_GET_A_USERS_AVAILABLE_DEVICESAcciónGet information about a user’s available spotify connect devices. some device models are not supported and will not be listed in the api response. <<DEPRECATED use get_available_devices>>
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get available devicesSPOTIFY_GET_AVAILABLE_DEVICESAcciónGet information about a user’s available spotify connect devices. some device models are not supported and will not be listed in the api response.
SPOTIFY_GET_AVAILABLE_DEVICESAcciónGet information about a user’s available spotify connect devices. some device models are not supported and will not be listed in the api response.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get available genre seedsSPOTIFY_GET_AVAILABLE_GENRE_SEEDSAcciónRetrieve a list of available genres seed parameter values for [recommendations](/documentation/web-api/reference/get-recommendations).
SPOTIFY_GET_AVAILABLE_GENRE_SEEDSAcciónRetrieve a list of available genres seed parameter values for [recommendations](/documentation/web-api/reference/get-recommendations).
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get available marketsSPOTIFY_GET_AVAILABLE_MARKETSAcciónGet the list of markets where spotify is available.
SPOTIFY_GET_AVAILABLE_MARKETSAcciónGet the list of markets where spotify is available.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get category s playlistsSPOTIFY_GET_CATEGORY_S_PLAYLISTSAcciónGet a list of spotify playlists tagged with a particular category.
SPOTIFY_GET_CATEGORY_S_PLAYLISTSAcciónGet a list of spotify playlists tagged with a particular category.
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
category_idstringObligatorioCategory Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get currently playing trackSPOTIFY_GET_CURRENTLY_PLAYING_TRACKAcciónGet the object currently being played on the user's spotify account.
SPOTIFY_GET_CURRENTLY_PLAYING_TRACKAcciónGet the object currently being played on the user's spotify account.
Parámetros de entrada
marketstringMarket
additional_typesstringAdditional Types
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get current user s playlistsSPOTIFY_GET_CURRENT_USER_S_PLAYLISTSAcciónGet a list of the playlists owned or followed by the current spotify user.
SPOTIFY_GET_CURRENT_USER_S_PLAYLISTSAcciónGet a list of the playlists owned or followed by the current spotify user.
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get current user s profileSPOTIFY_GET_CURRENT_USER_S_PROFILEAcciónGet detailed profile information about the current user (including the current user's username).
SPOTIFY_GET_CURRENT_USER_S_PROFILEAcciónGet detailed profile information about the current user (including the current user's username).
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get current user s profileSPOTIFY_GET_CURRENT_USERS_PROFILEAcciónGet detailed profile information about the current user (including the current user's username). <<DEPRECATED use get_current_user_s_profile>>
SPOTIFY_GET_CURRENT_USERS_PROFILEAcciónGet detailed profile information about the current user (including the current user's username). <<DEPRECATED use get_current_user_s_profile>>
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get episodeSPOTIFY_GET_EPISODEAcciónGet spotify catalog information for a single episode identified by its unique spotify id.
SPOTIFY_GET_EPISODEAcciónGet spotify catalog information for a single episode identified by its unique spotify id.
Parámetros de entrada
idstringObligatorioId
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get featured playlistsSPOTIFY_GET_FEATURED_PLAYLISTSAcciónGet a list of spotify featured playlists (shown, for example, on a spotify player's 'browse' tab).
SPOTIFY_GET_FEATURED_PLAYLISTSAcciónGet a list of spotify featured playlists (shown, for example, on a spotify player's 'browse' tab).
Parámetros de entrada
limitintegerLimit
localestringLocale
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get followed artistsSPOTIFY_GET_FOLLOWED_ARTISTSAcciónGet the current user's followed artists.
SPOTIFY_GET_FOLLOWED_ARTISTSAcciónGet the current user's followed artists.
Parámetros de entrada
typestringObligatorioenumType
artistafterstringAfter
limitintegerLimit
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get playback stateSPOTIFY_GET_INFORMATION_ABOUT_THE_USERS_CURRENT_PLAYBACKAcciónGet information about the user’s current playback state, including track or episode, progress, and active device. <<DEPRECATED use get_playback_state>>
SPOTIFY_GET_INFORMATION_ABOUT_THE_USERS_CURRENT_PLAYBACKAcciónGet information about the user’s current playback state, including track or episode, progress, and active device. <<DEPRECATED use get_playback_state>>
Parámetros de entrada
marketstringMarket
additional_typesstringAdditional Types
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s playlistsSPOTIFY_GET_LIST_USERS_PLAYLISTSAcciónGet a list of the playlists owned or followed by a spotify user. <<DEPRECATED use get_user_s_playlists>>
SPOTIFY_GET_LIST_USERS_PLAYLISTSAcciónGet a list of the playlists owned or followed by a spotify user. <<DEPRECATED use get_user_s_playlists>>
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
user_idstringObligatorioUser Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get new releasesSPOTIFY_GET_NEW_RELEASESAcciónGet a list of new album releases featured in spotify (shown, for example, on a spotify player’s “browse” tab).
SPOTIFY_GET_NEW_RELEASESAcciónGet a list of new album releases featured in spotify (shown, for example, on a spotify player’s “browse” tab).
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get playback stateSPOTIFY_GET_PLAYBACK_STATEAcciónGet information about the user’s current playback state, including track or episode, progress, and active device.
SPOTIFY_GET_PLAYBACK_STATEAcciónGet information about the user’s current playback state, including track or episode, progress, and active device.
Parámetros de entrada
marketstringMarket
additional_typesstringAdditional Types
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get playlistSPOTIFY_GET_PLAYLISTAcciónGet a playlist owned by a spotify user.
SPOTIFY_GET_PLAYLISTAcciónGet a playlist owned by a spotify user.
Parámetros de entrada
fieldsstringFields
marketstringMarket
playlist_idstringObligatorioPlaylist Id
additional_typesstringAdditional Types
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get playlist cover imageSPOTIFY_GET_PLAYLIST_COVER_IMAGEAcciónGet the current image associated with a specific playlist.
SPOTIFY_GET_PLAYLIST_COVER_IMAGEAcciónGet the current image associated with a specific playlist.
Parámetros de entrada
playlist_idstringObligatorioPlaylist Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get playlist itemsSPOTIFY_GET_PLAYLIST_ITEMSAcciónGet full details of the items of a playlist owned by a spotify user.
SPOTIFY_GET_PLAYLIST_ITEMSAcciónGet full details of the items of a playlist owned by a spotify user.
Parámetros de entrada
limitintegerLimit
fieldsstringFields
marketstringMarket
offsetintegerOffset
playlist_idstringObligatorioPlaylist Id
additional_typesstringAdditional Types
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get the user s queueSPOTIFY_GET_QUEUEAcciónGet the list of objects that make up the user's queue. <<DEPRECATED use get_the_user_s_queue>>
SPOTIFY_GET_QUEUEAcciónGet the list of objects that make up the user's queue. <<DEPRECATED use get_the_user_s_queue>>
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get recently played tracksSPOTIFY_GET_RECENTLY_PLAYEDAcciónGet tracks from the current user's recently played tracks. **note**: currently doesn't support podcast episodes. <<DEPRECATED use get_recently_played_tracks>>
SPOTIFY_GET_RECENTLY_PLAYEDAcciónGet tracks from the current user's recently played tracks. **note**: currently doesn't support podcast episodes. <<DEPRECATED use get_recently_played_tracks>>
Parámetros de entrada
afterintegerAfter
limitintegerLimit
beforeintegerBefore
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get recently played tracksSPOTIFY_GET_RECENTLY_PLAYED_TRACKSAcciónGet tracks from the current user's recently played tracks. **note**: currently doesn't support podcast episodes.
SPOTIFY_GET_RECENTLY_PLAYED_TRACKSAcciónGet tracks from the current user's recently played tracks. **note**: currently doesn't support podcast episodes.
Parámetros de entrada
afterintegerAfter
limitintegerLimit
beforeintegerBefore
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get recommendationsSPOTIFY_GET_RECOMMENDATIONSAcciónRecommendations are based on seed entity data, matched with similar artists and tracks. if data is ample, a track list and pool size are returned. for new or obscure artists and tracks, data may be insufficient for recommendations.
SPOTIFY_GET_RECOMMENDATIONSAcciónRecommendations are based on seed entity data, matched with similar artists and tracks. if data is ample, a track list and pool size are returned. for new or obscure artists and tracks, data may be insufficient for recommendations.
Parámetros de entrada
limitintegerLimit
marketstringMarket
max_keyintegerMax Key
min_keyintegerMin Key
max_modeintegerMax Mode
min_modeintegerMin Mode
max_tempointegerMax Tempo
min_tempointegerMin Tempo
max_energyintegerMax Energy
min_energyintegerMin Energy
target_keyintegerTarget Key
max_valenceintegerMax Valence
min_valenceintegerMin Valence
seed_genresstringSeed Genres
seed_tracksstringSeed Tracks
target_modeintegerTarget Mode
max_livenessintegerMax Liveness
max_loudnessintegerMax Loudness
min_livenessintegerMin Liveness
min_loudnessintegerMin Loudness
seed_artistsstringSeed Artists
target_tempointegerTarget Tempo
target_energyintegerTarget Energy
max_popularityintegerMax Popularity
min_popularityintegerMin Popularity
target_valenceintegerTarget Valence
max_duration_msintegerMax Duration Ms
max_speechinessintegerMax Speechiness
min_duration_msintegerMin Duration Ms
min_speechinessintegerMin Speechiness
target_livenessintegerTarget Liveness
target_loudnessintegerTarget Loudness
max_acousticnessintegerMax Acousticness
max_danceabilityintegerMax Danceability
min_acousticnessintegerMin Acousticness
min_danceabilityintegerMin Danceability
target_popularityintegerTarget Popularity
max_time_signatureintegerMax Time Signature
min_time_signatureintegerMin Time Signature
target_duration_msintegerTarget Duration Ms
target_speechinessintegerTarget Speechiness
target_acousticnessintegerTarget Acousticness
target_danceabilityintegerTarget Danceability
max_instrumentalnessintegerMax Instrumentalness
min_instrumentalnessintegerMin Instrumentalness
target_time_signatureintegerTarget Time Signature
target_instrumentalnessintegerTarget Instrumentalness
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get several albumsSPOTIFY_GET_SEVERAL_ALBUMSAcciónGet spotify catalog information for multiple albums identified by their spotify ids.
SPOTIFY_GET_SEVERAL_ALBUMSAcciónGet spotify catalog information for multiple albums identified by their spotify ids.
Parámetros de entrada
idsstringObligatorioIds
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get several artistsSPOTIFY_GET_SEVERAL_ARTISTSAcciónGet spotify catalog information for several artists based on their spotify ids.
SPOTIFY_GET_SEVERAL_ARTISTSAcciónGet spotify catalog information for several artists based on their spotify ids.
Parámetros de entrada
idsstringObligatorioIds
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get several audiobooksSPOTIFY_GET_SEVERAL_AUDIOBOOKSAcciónGet spotify catalog information for several audiobooks identified by their spotify ids. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets.
SPOTIFY_GET_SEVERAL_AUDIOBOOKSAcciónGet spotify catalog information for several audiobooks identified by their spotify ids. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets.
Parámetros de entrada
idsstringObligatorioIds
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get several browse categoriesSPOTIFY_GET_SEVERAL_BROWSE_CATEGORIESAcciónGet a list of categories used to tag items in spotify (on, for example, the spotify player’s “browse” tab).
SPOTIFY_GET_SEVERAL_BROWSE_CATEGORIESAcciónGet a list of categories used to tag items in spotify (on, for example, the spotify player’s “browse” tab).
Parámetros de entrada
limitintegerLimit
localestringLocale
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get several chaptersSPOTIFY_GET_SEVERAL_CHAPTERSAcciónGet spotify catalog information for several audiobook chapters identified by their spotify ids. chapters are only available within the us, uk, canada, ireland, new zealand and australia markets.
SPOTIFY_GET_SEVERAL_CHAPTERSAcciónGet spotify catalog information for several audiobook chapters identified by their spotify ids. chapters are only available within the us, uk, canada, ireland, new zealand and australia markets.
Parámetros de entrada
idsstringObligatorioIds
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get several episodesSPOTIFY_GET_SEVERAL_EPISODESAcciónGet spotify catalog information for several episodes based on their spotify ids.
SPOTIFY_GET_SEVERAL_EPISODESAcciónGet spotify catalog information for several episodes based on their spotify ids.
Parámetros de entrada
idsstringObligatorioIds
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get several showsSPOTIFY_GET_SEVERAL_SHOWSAcciónGet spotify catalog information for several shows based on their spotify ids.
SPOTIFY_GET_SEVERAL_SHOWSAcciónGet spotify catalog information for several shows based on their spotify ids.
Parámetros de entrada
idsstringObligatorioIds
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get several tracksSPOTIFY_GET_SEVERAL_TRACKSAcciónGet spotify catalog information for multiple tracks based on their spotify ids.
SPOTIFY_GET_SEVERAL_TRACKSAcciónGet spotify catalog information for multiple tracks based on their spotify ids.
Parámetros de entrada
idsstringObligatorioIds
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get several tracks audio featuresSPOTIFY_GET_SEVERAL_TRACKS_AUDIO_FEATURESAcciónGet audio features for multiple tracks based on their spotify ids.
SPOTIFY_GET_SEVERAL_TRACKS_AUDIO_FEATURESAcciónGet audio features for multiple tracks based on their spotify ids.
Parámetros de entrada
idsstringObligatorioIds
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get showSPOTIFY_GET_SHOWAcciónGet spotify catalog information for a single show identified by its unique spotify id.
SPOTIFY_GET_SHOWAcciónGet spotify catalog information for a single show identified by its unique spotify id.
Parámetros de entrada
idstringObligatorioId
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get show episodesSPOTIFY_GET_SHOW_EPISODESAcciónGet spotify catalog information about an show’s episodes. optional parameters can be used to limit the number of episodes returned.
SPOTIFY_GET_SHOW_EPISODESAcciónGet spotify catalog information about an show’s episodes. optional parameters can be used to limit the number of episodes returned.
Parámetros de entrada
idstringObligatorioId
limitintegerLimit
marketstringMarket
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get single browse categorySPOTIFY_GET_SINGLE_BROWSE_CATEGORYAcciónGet a single category used to tag items in spotify (on, for example, the spotify player’s “browse” tab).
SPOTIFY_GET_SINGLE_BROWSE_CATEGORYAcciónGet a single category used to tag items in spotify (on, for example, the spotify player’s “browse” tab).
Parámetros de entrada
localestringLocale
category_idstringObligatorioCategory Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get currently playing trackSPOTIFY_GET_THE_USERS_CURRENTLY_PLAYING_TRACKAcciónGet the object currently being played on the user's spotify account. <<DEPRECATED use get_currently_playing_track>>
SPOTIFY_GET_THE_USERS_CURRENTLY_PLAYING_TRACKAcciónGet the object currently being played on the user's spotify account. <<DEPRECATED use get_currently_playing_track>>
Parámetros de entrada
marketstringMarket
additional_typesstringAdditional Types
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get the user s queueSPOTIFY_GET_THE_USER_S_QUEUEAcciónGet the list of objects that make up the user's queue.
SPOTIFY_GET_THE_USER_S_QUEUEAcciónGet the list of objects that make up the user's queue.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get trackSPOTIFY_GET_TRACKAcciónGet spotify catalog information for a single track identified by its unique spotify id.
SPOTIFY_GET_TRACKAcciónGet spotify catalog information for a single track identified by its unique spotify id.
Parámetros de entrada
idstringObligatorioId
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get track s audio analysisSPOTIFY_GET_TRACK_S_AUDIO_ANALYSISAcciónGet a low-level audio analysis for a track in the spotify catalog. the audio analysis describes the track’s structure and musical content, including rhythm, pitch, and timbre.
SPOTIFY_GET_TRACK_S_AUDIO_ANALYSISAcciónGet a low-level audio analysis for a track in the spotify catalog. the audio analysis describes the track’s structure and musical content, including rhythm, pitch, and timbre.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get track s audio featuresSPOTIFY_GET_TRACK_S_AUDIO_FEATURESAcciónGet audio feature information for a single track identified by its unique spotify id.
SPOTIFY_GET_TRACK_S_AUDIO_FEATURESAcciónGet audio feature information for a single track identified by its unique spotify id.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s playlistsSPOTIFY_GET_USER_S_PLAYLISTSAcciónGet a list of the playlists owned or followed by a spotify user.
SPOTIFY_GET_USER_S_PLAYLISTSAcciónGet a list of the playlists owned or followed by a spotify user.
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
user_idstringObligatorioUser Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s profileSPOTIFY_GET_USER_S_PROFILEAcciónGet public profile information about a spotify user.
SPOTIFY_GET_USER_S_PROFILEAcciónGet public profile information about a spotify user.
Parámetros de entrada
user_idstringObligatorioUser Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s profileSPOTIFY_GET_USERS_PROFILEAcciónGet public profile information about a spotify user. <<DEPRECATED use get_user_s_profile>>
SPOTIFY_GET_USERS_PROFILEAcciónGet public profile information about a spotify user. <<DEPRECATED use get_user_s_profile>>
Parámetros de entrada
user_idstringObligatorioUser Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s saved albumsSPOTIFY_GET_USER_S_SAVED_ALBUMSAcciónGet a list of the albums saved in the current spotify user's 'your music' library.
SPOTIFY_GET_USER_S_SAVED_ALBUMSAcciónGet a list of the albums saved in the current spotify user's 'your music' library.
Parámetros de entrada
limitintegerLimit
marketstringMarket
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s saved audiobooksSPOTIFY_GET_USER_S_SAVED_AUDIOBOOKSAcciónGet a list of the audiobooks saved in the current spotify user's 'your music' library.
SPOTIFY_GET_USER_S_SAVED_AUDIOBOOKSAcciónGet a list of the audiobooks saved in the current spotify user's 'your music' library.
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s saved episodesSPOTIFY_GET_USER_S_SAVED_EPISODESAcciónThis api endpoint, currently in beta, allows retrieving episodes saved in a spotify user's library. changes may occur without notice. feedback and issues can be shared in spotify's developer forum.
SPOTIFY_GET_USER_S_SAVED_EPISODESAcciónThis api endpoint, currently in beta, allows retrieving episodes saved in a spotify user's library. changes may occur without notice. feedback and issues can be shared in spotify's developer forum.
Parámetros de entrada
limitintegerLimit
marketstringMarket
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s saved showsSPOTIFY_GET_USER_S_SAVED_SHOWSAcciónGet a list of shows saved in the current spotify user's library. optional parameters can be used to limit the number of shows returned.
SPOTIFY_GET_USER_S_SAVED_SHOWSAcciónGet a list of shows saved in the current spotify user's library. optional parameters can be used to limit the number of shows returned.
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s saved tracksSPOTIFY_GET_USER_S_SAVED_TRACKSAcciónGet a list of the songs saved in the current spotify user's 'your music' library.
SPOTIFY_GET_USER_S_SAVED_TRACKSAcciónGet a list of the songs saved in the current spotify user's 'your music' library.
Parámetros de entrada
limitintegerLimit
marketstringMarket
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s saved tracksSPOTIFY_GET_USERS_SAVED_TRACKSAcciónGet a list of the songs saved in the current spotify user's 'your music' library. <<DEPRECATED use get_user_s_saved_tracks>>
SPOTIFY_GET_USERS_SAVED_TRACKSAcciónGet a list of the songs saved in the current spotify user's 'your music' library. <<DEPRECATED use get_user_s_saved_tracks>>
Parámetros de entrada
limitintegerLimit
marketstringMarket
offsetintegerOffset
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s top artistsSPOTIFY_GET_USER_S_TOP_ARTISTSAcciónGet the current user's top artists based on calculated affinity.
SPOTIFY_GET_USER_S_TOP_ARTISTSAcciónGet the current user's top artists based on calculated affinity.
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
time_rangestringTime Range
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s top artistsSPOTIFY_GET_USERS_TOP_ARTISTSAcciónGet the current user's top artists based on calculated affinity. <<DEPRECATED use get_user_s_top_artists>>
SPOTIFY_GET_USERS_TOP_ARTISTSAcciónGet the current user's top artists based on calculated affinity. <<DEPRECATED use get_user_s_top_artists>>
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
time_rangestringTime Range
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s top tracksSPOTIFY_GET_USER_S_TOP_TRACKSAcciónGet the current user's top tracks based on calculated affinity.
SPOTIFY_GET_USER_S_TOP_TRACKSAcciónGet the current user's top tracks based on calculated affinity.
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
time_rangestringTime Range
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user s top tracksSPOTIFY_GET_USERS_TOP_TRACKSAcciónGet the current user's top tracks based on calculated affinity. <<DEPRECATED use get_user_s_top_tracks>>
SPOTIFY_GET_USERS_TOP_TRACKSAcciónGet the current user's top tracks based on calculated affinity. <<DEPRECATED use get_user_s_top_tracks>>
Parámetros de entrada
limitintegerLimit
offsetintegerOffset
time_rangestringTime Range
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Pause playbackSPOTIFY_PAUSE_PLAYBACKAcciónPause playback on the user's account. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
SPOTIFY_PAUSE_PLAYBACKAcciónPause playback on the user's account. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
Parámetros de entrada
device_idstringDevice Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove playlist itemsSPOTIFY_REMOVE_PLAYLIST_ITEMSAcciónRemove one or more items from a user's playlist.
SPOTIFY_REMOVE_PLAYLIST_ITEMSAcciónRemove one or more items from a user's playlist.
Parámetros de entrada
tracksobject[]ObligatorioAn array of objects containing [Spotify URIs](/documentation/web-api/concepts/spotify-uris-ids) of the tracks or episodes to remove. For example: `{ "tracks": [{ "uri": "spotify:track:4iV5W9uYEdYUVa79Axb7Rh" },{ "uri": "spotify:track:1301WleyT98MSxVHPZCA6M" }] }`. A maximum of 100 objects can be sent at once.
playlist_idstringObligatorioPlaylist Id
snapshot_idstringThe playlist"s snapshot ID against which you want to make the changes. The API will validate that the specified items exist and in the specified positions and make the changes, even if more recent changes have been made to the playlist.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove users saved albumsSPOTIFY_REMOVE_USERS_SAVED_ALBUMSAcciónRemove one or more albums from the current user's 'your music' library.
SPOTIFY_REMOVE_USERS_SAVED_ALBUMSAcciónRemove one or more albums from the current user's 'your music' library.
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]`<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove user s saved audiobooksSPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKSAcciónRemove one or more audiobooks from the spotify user's library.
SPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKSAcciónRemove one or more audiobooks from the spotify user's library.
Parámetros de entrada
idsstringObligatorioIds
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove user s saved episodesSPOTIFY_REMOVE_USER_S_SAVED_EPISODESAcciónThis api endpoint, currently in beta, allows for the removal of episodes from a user's library and may change without notice. feedback and issues can be shared on the spotify developer forum.
SPOTIFY_REMOVE_USER_S_SAVED_EPISODESAcciónThis api endpoint, currently in beta, allows for the removal of episodes from a user's library and may change without notice. feedback and issues can be shared on the spotify developer forum.
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). <br/>A maximum of 50 items can be specified in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove user s saved showsSPOTIFY_REMOVE_USER_S_SAVED_SHOWSAcciónDelete one or more shows from current spotify user's library.
SPOTIFY_REMOVE_USER_S_SAVED_SHOWSAcciónDelete one or more shows from current spotify user's library.
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the [Spotify IDs](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids). A maximum of 50 items can be specified in one request. *Note: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored.*
marketstringMarket
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove user s saved tracksSPOTIFY_REMOVE_USER_S_SAVED_TRACKSAcciónRemove one or more tracks from the current user's 'your music' library.
SPOTIFY_REMOVE_USER_S_SAVED_TRACKSAcciónRemove one or more tracks from the current user's 'your music' library.
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]`<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Save albums for current userSPOTIFY_SAVE_ALBUMS_FOR_CURRENT_USERAcciónSave one or more albums to the current user's 'your music' library.
SPOTIFY_SAVE_ALBUMS_FOR_CURRENT_USERAcciónSave one or more albums to the current user's 'your music' library.
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]`<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Save albums for current userSPOTIFY_SAVE_ALBUMS_USERAcciónSave one or more albums to the current user's 'your music' library. <<DEPRECATED use save_albums_for_current_user>>
SPOTIFY_SAVE_ALBUMS_USERAcciónSave one or more albums to the current user's 'your music' library. <<DEPRECATED use save_albums_for_current_user>>
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]`<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Save audiobooks for current userSPOTIFY_SAVE_AUDIOBOOKS_FOR_CURRENT_USERAcciónSave one or more audiobooks to the current spotify user's library.
SPOTIFY_SAVE_AUDIOBOOKS_FOR_CURRENT_USERAcciónSave one or more audiobooks to the current spotify user's library.
Parámetros de entrada
idsstringObligatorioIds
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Save episodes for current userSPOTIFY_SAVE_EPISODES_FOR_CURRENT_USERAcciónThis api endpoint, currently in beta, allows saving episodes to a user's library. users are encouraged to provide feedback or report issues in the spotify developer forum.
SPOTIFY_SAVE_EPISODES_FOR_CURRENT_USERAcciónThis api endpoint, currently in beta, allows saving episodes to a user's library. users are encouraged to provide feedback or report issues in the spotify developer forum.
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). <br/>A maximum of 50 items can be specified in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Save shows for current userSPOTIFY_SAVE_SHOWS_FOR_CURRENT_USERAcciónSave one or more shows to current spotify user's library.
SPOTIFY_SAVE_SHOWS_FOR_CURRENT_USERAcciónSave one or more shows to current spotify user's library.
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the [Spotify IDs](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids). A maximum of 50 items can be specified in one request. *Note: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored.*
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Save tracks for current userSPOTIFY_SAVE_TRACKS_FOR_CURRENT_USERAcciónSave one or more tracks to the current user's 'your music' library.
SPOTIFY_SAVE_TRACKS_FOR_CURRENT_USERAcciónSave one or more tracks to the current user's 'your music' library.
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]`<br/>A maximum of 50 items can be specified in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search for itemSPOTIFY_SEARCHAcciónGet spotify catalog information about albums, artists, playlists, tracks, shows, episodes or audiobooks that match a keyword string. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets. <<DEPRECATED use search_for_item>>
SPOTIFY_SEARCHAcciónGet spotify catalog information about albums, artists, playlists, tracks, shows, episodes or audiobooks that match a keyword string. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets. <<DEPRECATED use search_for_item>>
Parámetros de entrada
qstringObligatorioQ
typestring[]ObligatorioType
limitintegerLimit
marketstringMarket
offsetintegerOffset
include_externalstringenumInclude External
audio
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search for itemSPOTIFY_SEARCH_FOR_ITEMAcciónGet spotify catalog information about albums, artists, playlists, tracks, shows, episodes or audiobooks that match a keyword string. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets.
SPOTIFY_SEARCH_FOR_ITEMAcciónGet spotify catalog information about albums, artists, playlists, tracks, shows, episodes or audiobooks that match a keyword string. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets.
Parámetros de entrada
qstringObligatorioQ
typestring[]ObligatorioType
limitintegerLimit
marketstringMarket
offsetintegerOffset
include_externalstringenumInclude External
audio
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Seek to positionSPOTIFY_SEEK_TO_POSITIONAcciónSeeks to the given position in the user’s currently playing track. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
SPOTIFY_SEEK_TO_POSITIONAcciónSeeks to the given position in the user’s currently playing track. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
Parámetros de entrada
device_idstringDevice Id
position_msintegerObligatorioPosition Ms
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set playback volumeSPOTIFY_SET_PLAYBACK_VOLUMEAcciónSet the volume for the user’s current playback device. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
SPOTIFY_SET_PLAYBACK_VOLUMEAcciónSet the volume for the user’s current playback device. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
Parámetros de entrada
device_idstringDevice Id
volume_percentintegerObligatorioVolume Percent
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set repeat modeSPOTIFY_SET_REPEAT_MODEAcciónSet the repeat mode for the user's playback. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
SPOTIFY_SET_REPEAT_MODEAcciónSet the repeat mode for the user's playback. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
Parámetros de entrada
statestringObligatorioState
device_idstringDevice Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Skip to nextSPOTIFY_SKIP_TO_NEXTAcciónSkips to next track in the user’s queue. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
SPOTIFY_SKIP_TO_NEXTAcciónSkips to next track in the user’s queue. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
Parámetros de entrada
device_idstringDevice Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Skip to previousSPOTIFY_SKIP_TO_PREVIOUSAcciónSkips to previous track in the user’s queue. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
SPOTIFY_SKIP_TO_PREVIOUSAcciónSkips to previous track in the user’s queue. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
Parámetros de entrada
device_idstringDevice Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Skip to nextSPOTIFY_SKIP_USERS_PLAYBACK_TO_NEXT_TRACKAcciónSkips to next track in the user’s queue. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints. <<DEPRECATED use skip_to_next>>
SPOTIFY_SKIP_USERS_PLAYBACK_TO_NEXT_TRACKAcciónSkips to next track in the user’s queue. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints. <<DEPRECATED use skip_to_next>>
Parámetros de entrada
device_idstringDevice Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Start resume playbackSPOTIFY_START_A_USERS_PLAYBACKAcciónStart a new context or resume current playback on the user's active device. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints. <<DEPRECATED use start_resume_playback>>
SPOTIFY_START_A_USERS_PLAYBACKAcciónStart a new context or resume current playback on the user's active device. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints. <<DEPRECATED use start_resume_playback>>
Parámetros de entrada
urisstring[]Optional. A JSON array of the Spotify track URIs to play. For example: `{"uris": ["spotify:track:4iV5W9uYEdYUVa79Axb7Rh", "spotify:track:1301WleyT98MSxVHPZCA6M"]}`
offsetobjectOptional. Indicates from where in the context playback should start. Only available when context_uri corresponds to an album or playlist object "position" is zero based and can’t be negative. Example: `"offset": {"position": 5}` "uri" is a string representing the uri of the item to start at. Example: `"offset": {"uri": "spotify:track:1301WleyT98MSxVHPZCA6M"}`
device_idstringDevice Id
context_uristringOptional. Spotify URI of the context to play. Valid contexts are albums, artists & playlists. `{context_uri:"spotify:album:1Je1IMUlBXcx1Fz0WE7oPT"}`
position_msintegerIndicates from what position to start playback. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Start resume playbackSPOTIFY_START_RESUME_PLAYBACKAcciónStart a new context or resume current playback on the user's active device. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
SPOTIFY_START_RESUME_PLAYBACKAcciónStart a new context or resume current playback on the user's active device. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
Parámetros de entrada
urisstring[]Optional. A JSON array of the Spotify track URIs to play. For example: `{"uris": ["spotify:track:4iV5W9uYEdYUVa79Axb7Rh", "spotify:track:1301WleyT98MSxVHPZCA6M"]}`
offsetobjectOptional. Indicates from where in the context playback should start. Only available when context_uri corresponds to an album or playlist object "position" is zero based and can’t be negative. Example: `"offset": {"position": 5}` "uri" is a string representing the uri of the item to start at. Example: `"offset": {"uri": "spotify:track:1301WleyT98MSxVHPZCA6M"}`
device_idstringDevice Id
context_uristringOptional. Spotify URI of the context to play. Valid contexts are albums, artists & playlists. `{context_uri:"spotify:album:1Je1IMUlBXcx1Fz0WE7oPT"}`
position_msintegerIndicates from what position to start playback. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Toggle playback shuffleSPOTIFY_TOGGLE_PLAYBACK_SHUFFLEAcciónToggle shuffle on or off for user’s playback. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
SPOTIFY_TOGGLE_PLAYBACK_SHUFFLEAcciónToggle shuffle on or off for user’s playback. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
Parámetros de entrada
statebooleanObligatorioState
device_idstringDevice Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Transfer playbackSPOTIFY_TRANSFER_PLAYBACKAcciónTransfer playback to a new device and optionally begin playback. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
SPOTIFY_TRANSFER_PLAYBACKAcciónTransfer playback to a new device and optionally begin playback. this api only works for users who have spotify premium. the order of execution is not guaranteed when you use this api with other player api endpoints.
Parámetros de entrada
playboolean**true**: ensure playback happens on new device.<br/>**false** or not provided: keep the current playback state.
device_idsstring[]ObligatorioA JSON array containing the ID of the device on which playback should be started/transferred.<br/>For example:`{device_ids:["74ASZWbe4lXaubB36ztrGX"]}`<br/>_**Note**: Although an array is accepted, only a single device_id is currently supported. Supplying more than one will return `400 Bad Request`_
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unfollow artists or usersSPOTIFY_UNFOLLOW_ARTISTS_OR_USERSAcciónRemove the current user as a follower of one or more artists or other spotify users.
SPOTIFY_UNFOLLOW_ARTISTS_OR_USERSAcciónRemove the current user as a follower of one or more artists or other spotify users.
Parámetros de entrada
idsstring[]ObligatorioA JSON array of the artist or user [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example: `{ids:["74ASZWbe4lXaubB36ztrGX", "08td7MxkoHQkXnWAYD8d6Q"]}`. A maximum of 50 IDs can be sent in one request. _**Note**: if the `ids` parameter is present in the query string, any IDs listed here in the body will be ignored._
typestringObligatorioenumType
artistuser
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unfollow playlistSPOTIFY_UNFOLLOW_PLAYLISTAcciónRemove the current user as a follower of a playlist.
SPOTIFY_UNFOLLOW_PLAYLISTAcciónRemove the current user as a follower of a playlist.
Parámetros de entrada
playlist_idstringObligatorioPlaylist Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update playlist itemsSPOTIFY_UPDATE_PLAYLIST_ITEMSAcciónTo modify a playlist, use rearrange (with `range start`, `insert before`, `range length`, `snapshot id`) or replace items (`uris` in body/query). replace overwrites items. operations can't combine in one request; they are exclusive but share an endpoint.
SPOTIFY_UPDATE_PLAYLIST_ITEMSAcciónTo modify a playlist, use rearrange (with `range start`, `insert before`, `range length`, `snapshot id`) or replace items (`uris` in body/query). replace overwrites items. operations can't combine in one request; they are exclusive but share an endpoint.
Parámetros de entrada
urisstring[]Uris
playlist_idstringObligatorioPlaylist Id
range_startintegerThe position of the first item to be reordered.
snapshot_idstringThe playlist"s snapshot ID against which you want to make the changes.
range_lengthintegerThe amount of items to be reordered. Defaults to 1 if not set.<br/>The range of items to be reordered begins from the _range_start_ position, and includes the _range_length_ subsequent items.<br/>Example:<br/>To move the items at index 9-10 to the start of the playlist, _range_start_ is set to 9, and _range_length_ is set to 2.
insert_beforeintegerThe position where the items should be inserted.<br/>To reorder the items to the end of the playlist, simply set _insert_before_ to the position after the last item.<br/>Examples:<br/>To reorder the first item to the last position in a playlist with 10 items, set _range_start_ to 0, and _insert_before_ to 10.<br/>To reorder the last item in a playlist with 10 items to the start of the playlist, set _range_start_ to 9, and _insert_before_ to 0.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Triggers (3)
Los triggers son eventos externos que pueden iniciar un flujo en tus agentes (ej: nuevo email, mensaje recibido, registro creado).
New Device AddedSPOTIFY_NEW_DEVICE_TRIGGERTriggerTriggers when a new device is added.
SPOTIFY_NEW_DEVICE_TRIGGERTriggerTriggers when a new device is added.
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
deviceobjectObligatorioDevice details
event_typestringObligatorioType of device event (added/removed)
Instrucciones
**Instructions for Setting Up the Trigger:** - Make sure you have authorized access to the Spotify API.
Spotify Playlist Item ChangeSPOTIFY_PLAYLIST_ITEM_TRIGGERTriggerTriggers when songs are added to or removed from a Spotify playlist.
SPOTIFY_PLAYLIST_ITEM_TRIGGERTriggerTriggers when songs are added to or removed from a Spotify playlist.
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
playlist_idstringObligatorioThe ID of the Spotify playlist
Payload del evento
event_typestringObligatorioType of playlist item event (added/removed)
trackobjectObligatorioTrack details
Instrucciones
**Instructions for Setting Up the Trigger:** 1. Provide the Spotify Playlist ID. You can find this in the playlist's URL (e.g., the string after `playlist/` and before `?`). 2. Ensure you have authorized Mercury to access your Spotify account, specifically the permissions needed to read playlists. 3. This trigger will fire when tracks are added or removed.
New Playlist Created or DeletedSPOTIFY_PLAYLIST_TRIGGERTriggerTriggers when a new playlist is created or deleted.
SPOTIFY_PLAYLIST_TRIGGERTriggerTriggers when a new playlist is created or deleted.
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
event_typestringObligatorioType of playlist event (created/deleted)
playlistobjectObligatorioPlaylist details
Instrucciones
**Instructions for Setting Up the Trigger:** - Make sure you have authorized access to the Spotify API.