Add release to wantlist

Add a release to your Discogs wantlist.

POST https://cotlet.dev/api/v1/discogs/releases/{release_id}/wantlists

write

Adds the release to your wantlist and returns the item. It reaches no one and you can remove it again, so it asks for no confirmation.

Parameters

Parameters: add_to_wantlist
NameTypeDescription
release_id integer required integer Release ID from search_releases. The number in discogs.com/release/{id}.
notes string string Your own note on the wantlist item.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/discogs/releases/1/wantlists \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("discogs", "add_to_wantlist", {"release_id":1})
Node.js
const result = await cotlet.call('discogs', 'add_to_wantlist', {"release_id":1});
CLI
cotlet call discogs add_to_wantlist --data '{"release_id":1}'

Example response

JSON

{
  "release_id": 4417820,
  "added": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.