Web Messaging widget guest attributes not persisting to conversation

Setting custom guest attributes in the Web Messaging SDK init config. The attributes show up in the widget state but don’t appear in the /api/v2/conversations/webchat endpoint response. Here is the :

const config = {
guestAttributes: {
userId: “auth_user_123”,
tenantId: “xyz”
}
};

Is there a specific API call needed to push these to the active session or is the SDK supposed to handle it automatically?