{
"data": {
"type": "BotSession",
"attributes": {
"apiKeyToken": "string"
},
"relationships": {
"botUser": {
"data": {
"id": "FID001",
"type": "BotUser"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/bot-sessions' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "BotSession",
"attributes": {
"apiKeyToken": "string"
},
"relationships": {
"botUser": {
"data": {
"id": "FID001",
"type": "BotUser"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "BotSession",
"attributes": {
"apiKeyToken": "string",
"sessionToken": "string"
},
"relationships": {
"botUser": {
"data": {
"id": "FID001",
"type": "BotUser"
}
}
}
}
}