Send Custom Fields via POST API

I have implemented hitting the /api/spins POST endpoint from our custom built automation software. One thing I have noticed is I am not able to add the fields ā€œmediumā€ or ā€œrelease-customā€ from the spin model via a POST request. Or maybe I am doing it wrong…

If this is simply not present, and could be added, it would greatly benefit our use-case!

Sending data: {"live":true,"start":"2024-11-08T07:22:52.463Z","duration":214,"artist":"Noah Kahan","release":"Stick Season (We'll All Be Here Forever)","song":"Dial Drunk","medium":"Bitjockey","release-custom":"No"}

Returns null in the response for medium and release-custom.

1 Like

Hi Nayab, thanks for joining the forum.

I’m not sure. It’s likely that you’re the first to try using those fields in POST /spins so it’s possible you’ve uncovered a bug. Or a documentation error. I’ll take a look.

1 Like

Hi @nwarach

Until today the only fields that work in POST /spins were

start
duration
artist
release
label
genre
song
composer
isrc

Now, with this grand ceremony, we can add release-custom. You get 100 characters. Don’t spend them all in one place (惄)

1 Like