X-Sonos-Corr-Id clarification


Hi! I’m working on a third-party integration with Sonos. It’s unclear what’s the X-Sonos-Corr-Id HTTP header. I tried googling for it, but found just a couple of mentions at stackoverflow. Could you please clarify:

  1. What module or system sends this header?
  2. When can I expect this header?
  3. What’s the purpose of it?
  4. Do we required to handle it in some way?

Thanks in advance!


This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

3 replies

Have you checked out developer.sonos.com?  You might find the info you’re looking for there.  There are some folks around here that have some 3rd party integrations that might be able to help you though.

Sure, I searched through the developer site, and the only page that mentions this particular HTTP header is https://developer.sonos.com/reference/cloud-queue-api/post-timeplayed/ w/o any clarification though.

Userlevel 7
Badge +23

Just make one up on every SMAPI call, from a dynamic guid. It has no obvious consequences. I am guessing it is intended for some kind of tracing.

I am speaking from the client side: sounds like you are a SMAPI server, so I would just ignore it. Or log it if you also have a client, so you can tie both things together.

Note that the Sonos developer docs are usable, but woefully out of date.