curl --request POST \
--url https://app.narrativebanking.com/api/chat/session/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chatType": "free",
"userId": "1005"
}
'{
"sessionId": "<string>",
"chatType": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}curl --request POST \
--url https://app.narrativebanking.com/api/chat/session/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chatType": "free",
"userId": "1005"
}
'{
"sessionId": "<string>",
"chatType": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.