Trying to push a proactive notification to a user who had a session 2 days ago. Using the /api/v2/messaging/notifications endpoint with the stored messagingSessionId returns a 400 Bad Request saying the session is invalid. The SDK docs imply I need to re-initiate the connection first, but I don’t have the client-side context to do that from the backend. Is there a server-side way to ping a closed session, or do I have to store the guest ID and use a different endpoint?
POST /api/v2/messaging/notifications
{
"messagingSessionId": "abc-123-def",
"message": "Hey, we're back."
}