clarkwinkelmann are you able to share an entire JSON response where the content doesn't match, and maybe the corresponding screenshot from Flarum UI?
This forum have the same "problem", this is screenshot of my notifications on discuss.flarum.org
https://discuss.flarum.org/api/notifications
show 10 notifications with users id relationships":{"fromUser":{"data":{"type":"users","id":"123"
"data":[
{"type":"notifications","id":"447758","attributes":{"contentType":"postMentioned","content":{"replyNumber":12},"createdAt":"2022-12-12T18:32:26+00:00","isRead":true},"relationships":{"fromUser":{"data":{"type":"users","id":"5855"}},"subject":{"data":{"type":"posts","id":"209143"}}}},
{"type":"notifications","id":"447753","attributes":{"contentType":"postMentioned","content":{"replyNumber":9},"createdAt":"2022-12-12T14:44:29+00:00","isRead":true},"relationships":{"fromUser":{"data":{"type":"users","id":"1376"}},"subject":{"data":{"type":"posts","id":"209139"}}}},
{"type":"notifications","id":"447747","attributes":{"contentType":"postMentioned","content":{"replyNumber":7},"createdAt":"2022-12-12T14:08:57+00:00","isRead":true},"relationships":{"fromUser":{"data":{"type":"users","id":"20612"}},"subject":{"data":{"type":"posts","id":"209136"}}}},
{"type":"notifications","id":"447741","attributes":{"contentType":"postMentioned","content":{"replyNumber":5},"createdAt":"2022-12-12T12:10:54+00:00","isRead":true},"relationships":{"fromUser":{"data":{"type":"users","id":"1376"}},"subject":{"data":{"type":"posts","id":"209134"}}}},
{"type":"notifications","id":"447206","attributes":{"contentType":"postMentioned","content":{"replyNumber":2},"createdAt":"2022-12-08T15:59:05+00:00","isRead":true},"relationships":{"fromUser":{"data":{"type":"users","id":"5855"}},"subject":{"data":{"type":"posts","id":"208954"}}}},
{"type":"notifications","id":"446711","attributes":{"contentType":"postMentioned","content":{"replyNumber":2},"createdAt":"2022-12-04T09:43:07+00:00","isRead":true},"relationships":{"fromUser":{"data":{"type":"users","id":"1376"}},"subject":{"data":{"type":"posts","id":"208817"}}}},
{"type":"notifications","id":"446656","attributes":{"contentType":"postMentioned","content":{"replyNumber":31},"createdAt":"2022-12-03T18:09:17+00:00","isRead":true},"relationships":{"fromUser":{"data":{"type":"users","id":"5855"}},"subject":{"data":{"type":"posts","id":"208766"}}}},
{"type":"notifications","id":"446574","attributes":{"contentType":"postMentioned","content":{"replyNumber":5},"createdAt":"2022-12-03T11:03:55+00:00","isRead":true},"relationships":{"fromUser":{"data":{"type":"users","id":"1376"}},"subject":{"data":{"type":"posts","id":"208764"}}}},
{"type":"notifications","id":"432374","attributes":{"contentType":"postLiked","content":null,"createdAt":"2022-09-08T08:30:51+00:00","isRead":true},"relationships":{"fromUser":{"data":{"type":"users","id":"7315"}},"subject":{"data":{"type":"posts","id":"203467"}}}},
{"type":"notifications","id":"431323","attributes":{"contentType":"postMentioned","content":{"replyNumber":2},"createdAt":"2022-09-02T21:05:28+00:00","isRead":true},"relationships":{"fromUser":{"data":{"type":"users","id":"5855"}},"subject":{"data":{"type":"posts","id":"204352"}}}}
]
and included
with 4 usernames
"included":[
{"type":"users","id":"5855","attributes":{"username":"clarkwinkelmann","displayName":"clarkwinkelmann","avatarUrl":"https:\/\/discuss.flarum.org\/assets\/avatars\/41BOlYLjizzhvecT.png","slug":"clarkwinkelmann"}},
{"type":"users","id":"1376","attributes":{"username":"luceos","displayName":"luceos","avatarUrl":"https:\/\/discuss.flarum.org\/assets\/avatars\/fNVaAawAMvap1S2g.png","slug":"luceos"}},
{"type":"users","id":"20612","attributes":{"username":"SychO","displayName":"SychO","avatarUrl":"https:\/\/discuss.flarum.org\/assets\/avatars\/Mzqcew3iinTlh7L0.png","slug":"SychO"}},
{"type":"users","id":"7315","attributes":{"username":"hrvoje_hr","displayName":"hrvoje_hr","avatarUrl":"https:\/\/discuss.flarum.org\/assets\/avatars\/6dzToMOo3csm5fbx.png","slug":"hrvoje_hr"}},
Question: How to correlate this 4 usernames from included
with 10 notifications? Like this https://discuss.flarum.org/d/32131-get-api-data-with-multiple-id/11