Actions
| Name | Description |
|---|---|
searchSearches for tracks, artists, albums, etc. | Searches for tracks, artists, albums, etc. |
get_playback_stateRetrieves the current playback state of the player | Retrieves the current playback state of the player |
playResumes or starts playback | Resumes or starts playback |
pausePauses the playback | Pauses the playback |
set_volumeSets the volume of the player | Sets the volume of the player |
get_playlistsRetrieves the list of playlists that you created or followed | Retrieves the list of playlists that you created or followed |
get_playlist_infoRetrieves details of a playlist | Retrieves details of a playlist |
get_playlist_itemsRetrieves the list of items in the playlist | Retrieves the list of items in the playlist |
get_saved_tracksRetrieves the list of saved tracks for the current user | Retrieves the list of saved tracks for the current user |
create_playlistCreates a new playlist for the current user | Creates a new playlist for the current user |
update_playlistUpdates details of the playlist | Updates details of the playlist |
add_playlist_itemsAdds tracks or episodes to the playlist | Adds tracks or episodes to the playlist |
remove_playlist_itemsRemoves tracks or episodes from the playlist | Removes tracks or episodes from the playlist |
reorder_playlistReorders items in the playlist | Reorders items in the playlist |
custom_api_callMake a custom API call to a specific endpoint | Make a custom API call to a specific endpoint |
Triggers
| Name | Description |
|---|---|
playlist_items_changedTriggers when the items of a playlist change | Triggers when the items of a playlist change |
Quick Start
import { WeavzClient } from '@weavz/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute({
integrationName: 'spotify',
actionName: 'search',
input: { /* ... */ },
connectionId: 'conn_id',
workspaceId: 'ws_id',
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect Spotify to my app?
Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute actions programmatically.
What actions does Spotify support?
Spotify supports 15 actions including Search, Get Playback State, Play / Resume, Pause, Set Volume, and more.
Can I use Spotify with AI agents?
Yes. Add Spotify to an MCP server in TOOLS mode or CODE mode. CODE mode provides 80-98% context reduction with 3 meta-tools for efficient agent access.
What authentication does Spotify use?
Spotify uses OAuth2. Weavz handles token management, refresh, and secure credential storage automatically.
How much does the Spotify integration cost?
The Spotify integration is included on all Weavz plans including the free tier with 1,000 actions per month. No credit card required.
What triggers does Spotify support?
Spotify supports 1 triggers including Playlist Items Changed.
Connect Spotify in 2 minutes
Get 1,000 free actions every month. No credit card required.