How to pass OTP while logging in via REST API?

I am trying to login via REST API. I have 2FA enabled. How to I pass the OTP to ERPNext?

This is the response I receive:

{
verification: {
token_delivery: true,
prompt: ‘Verification code has been sent to your registered email address.’,
method: ‘Email’,
setup: true
},
tmp_id: ‘c18edcc6’
}