From the documentation:
thread-id | string | When displaying notifications, the system visually groups notifications with th
thread-id
string
https://medium.com/the-guardian-mobile-innovation-lab/how-to-replace-the-content-of-an-ios-notification-2d8d93766446:
says to use apns-collapse-id instead