{"__v":0,"_id":"564525732229d717001092ca","category":{"__v":5,"_id":"5644e8f32229d7170010923c","pages":["5644e8f32229d7170010923d","564514506b0ca50d00f6bda7","564525732229d717001092ca","564527cc7f1fff210078e74c","5645334d6b0ca50d00f6bdcd"],"project":"5644e8bed608df0d00d269d9","version":"5644e8f22229d7170010923b","reference":false,"createdAt":"2015-11-12T19:30:07.091Z","from_sync":false,"order":2,"slug":"authentication","title":"Authentication"},"parentDoc":null,"project":"5644e8bed608df0d00d269d9","user":"5644e82bb360ea0d00914817","version":{"__v":15,"_id":"5644e8f22229d7170010923b","project":"5644e8bed608df0d00d269d9","createdAt":"2015-11-12T19:30:58.871Z","releaseDate":"2015-11-12T19:30:58.871Z","categories":["5644e8f32229d7170010923c","564514ff98da41190099f346","564523546b0ca50d00f6bdb8","564533dc6b0ca50d00f6bdcf","564535c16b0ca50d00f6bdd2","5645397a6b0ca50d00f6bddb","5645451eda14e70d0027cd2c","56454606decdee0d0090b774","564550e2bb7ad50d00e9c4ce","566f6768f11d5a0d007226e3","56a65b2f2ec8310d007bc1f2","56d77760693ef41d0003ac19","57151b8f11537f19006aab1e","5720e5dbdb52d01700f5d267","57487fd7db76422200d95873"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"createdAt":"2015-11-12T23:49:07.832Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"name":"","code":"curl -i \\\n   -H \"Content-Type: application/json\" \\\n   -X POST \\\n   -d \\\n   '{\n     \"email\": \"user:::at:::organization.com\",\n     \"password\": \"userpassword\"\n   }' \\\n   https://api.signalfx.com/v2/session","language":"shell"}]},"results":{"codes":[{"status":200,"language":"json","code":"{\n 'accessToken': '<access-token>',\n 'createdBy': 'CkClZUKAIAQ',\n 'createdMs': 1465239513540,\n 'disabled': false,\n 'email': '[email protected]',\n 'expiryMs': 1467831513540,\n 'id': 'CkSfGddAAAg',\n 'organizationId': 'CMtLSYXAEJQ',\n 'sessionType': 'ORG_USER',\n 'updatedBy': null,\n 'updatedMs': 1465239513540,\n 'userId': 'CkClZUKAIAQ',\n 'userName': null\n}","name":""},{"code":"{\n    \"type\": \"error\",\n    \"status\": 401,\n    \"message\": \"The email/password combination was entered incorrectly. Please try again.\"\n}","language":"text","status":401}]},"settings":"564539bd6b0ca50d00f6bddc","auth":"never","params":[{"_id":"564525732229d717001092cc","ref":"","required":false,"desc":"The email address of the user","default":"","type":"string","name":"email"},{"_id":"564525732229d717001092cb","ref":"","required":false,"desc":"The password for the user","default":"","type":"string","name":"password"}],"url":"/session"},"isReference":false,"order":1,"body":"","excerpt":"Creates a new session token","slug":"session","type":"post","title":"/session"}

post/session

Creates a new session token

Definition

{{ api_url }}{{ page_api_url }}

Parameters

email:
string
The email address of the user
password:
string
The password for the user

Examples


Result Format


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}