Skip to main content
Session messages control authentication, liveness, sequence recovery, and orderly disconnect. All session messages use the standard FIX header and trailer.

Session message list

MessageMsgType (35)DirectionPurpose
LogonAClient to service; service to clientOpens a FIX session and negotiates heartbeat and sequence behavior.
Heartbeat0Both directionsConfirms that the FIX connection is alive.
TestRequest1Both directionsRequests an immediate heartbeat response when a peer appears idle.
ResendRequest2Both directionsRequests retransmission for a missing sequence range.
Reject3Service to clientRejects a session-level message or invalid session condition.
SequenceReset4Both directionsAdvances sequence state or fills gaps for messages that are not resent.
Logout5Both directionsCloses the FIX session or reports a session condition that requires disconnect.

Logon fields

Logon (35=A) opens a session.
TagNameReqTypeDescription
98EncryptMethodYIntEncryption method. Use 0 for none unless a different value is assigned for the session.
108HeartBtIntYIntHeartbeat interval in seconds. Must be greater than 15 and less than 100.
141ResetSeqNumFlagNBooleanY resets sequence numbers for the session. N continues the previous sequence state.

Heartbeat fields

Heartbeat (35=0) contains no required body fields in this contract. When replying to TestRequest (35=1), include the received TestReqID (112).

Test request fields

TagNameReqTypeDescription
112TestReqIDYStringIdentifier that the peer echoes in the heartbeat response.

Resend request fields

TagNameReqTypeDescription
7BeginSeqNoYIntFirst sequence number requested.
16EndSeqNoYIntLast sequence number requested. Use 0 to request all messages from BeginSeqNo (7) onward.

Reject fields

TagNameReqTypeDescription
45RefSeqNumYIntSequence number of the rejected message.
58TextNStringHuman-readable reject detail.
371RefTagIDNIntFIX tag that caused the reject, when applicable.
372RefMsgTypeYStringMsgType (35) of the rejected message.
373SessionRejectReasonNIntFIX session reject reason code.

Sequence reset fields

TagNameReqTypeDescription
36NewSeqNoYIntNext sequence number expected after the reset or gap fill.
123GapFillFlagNBooleanY indicates a gap fill. Omitted or N indicates a sequence reset.

Logout fields

TagNameReqTypeDescription
58TextNStringLogout detail. If the value states MsgSeqNum too low, expecting X but received Y, relogon with MsgSeqNum (34)=X.