Collection Iitem to JSON (ID's on selection fields)

I’m getting my collection items via API in JSON as I want to create a custom XML feed of them. I have many (option) selection fields in my collection. The choices don’t appear as the choice e.g. yes or no but as a ID like ‘236ba241872e92850220dcc1fdd34f12’.

What can I do about this as I need the word yes or no in my XML feed.


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Hi Jesse,

You should be able to get the option ID to value translations as part of the collection schema.

I think today that’s this endpoint.

https://developers.webflow.com/reference/get-collection

Let me know if that works.

how can I set the schema to get the full value string?
is not clear

edit: ah ok I thought it was possible to retrieve the value directly in the item instead I have to match the id manually from the get collection

1 Like