Skip to content
DocumentationAPI Reference

Check User's Saved Episodes

List<boolean> me().episodes().check(EpisodeCheckParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/me/episodes/contains

Check if one or more episodes is already saved in the current Spotify user's 'Your Episodes' library.
This API endpoint is in beta and could change without warning. Please share any feedback that you have, or issues that you discover, in our developer community forum..

ParametersExpand Collapse
EpisodeCheckParams params
String ids

A comma-separated list of the Spotify IDs for the episodes. Maximum: 50 IDs.

Check User's Saved Episodes

package dev.cjav.spotted.example;

import dev.cjav.spotted.client.SpottedClient;
import dev.cjav.spotted.client.okhttp.SpottedOkHttpClient;
import dev.cjav.spotted.models.me.episodes.EpisodeCheckParams;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        SpottedClient client = SpottedOkHttpClient.fromEnv();

        EpisodeCheckParams params = EpisodeCheckParams.builder()
            .ids("77o6BIVlYM3msb4MMIL1jH,0Q86acNRm6V9GYx55SXKwf")
            .build();
        List<Boolean> response = client.me().episodes().check(params);
    }
}
[
  false,
  true
]
Returns Examples
[
  false,
  true
]