/auth/login with the request body, query parameters, or multipart fields shown below. Authentication endpoint. It does not use the broker integration API key in the same way as /v1/... endpoints.data with status and message.400 invalid request body, query, ObjectId, pagination, file format, or missing required field.401 missing, invalid, expired, or insufficient API key/token.403 key is valid but cannot access this community/channel/user/resource, where supported by the service.404 target resource, route, or community-scoped record was not found.409 duplicate or conflicting state for create/update operations, where applicable.500 unexpected Returning.AI service error.curl --location 'https://api.returning.ai/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "savade@koletter.com",
"password": "@Password123",
"host": "ic.genesiv.com"
}'{
"meta": {
"success": true,
"message": "Login success",
"devMessage": "Login success"
},
"body": {
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE0NTA3NSIsImlhdCI6MTc0NjAwMTY1MywiZXhwIjoxNzQ2MDg4MDUzfQ.a-ee52XuvMtnV4tGgapFDNOh8kvGxswvzMJujSUFLxU",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE0NTA3NSIsImlhdCI6MTc0NjAwMTY1MywiZXhwIjoxNzQ2NjA2NDUzfQ.Vuy6Va2QdkwPpsLpx1rurIkv9EcxM1zJapXz0Vj9f_U"
}
}