User
Get user by third party activation code
Get information about a user through an activation code. This function is only available through a JWT token.
post/api/user/by-third-party-activation-code
Request
- Base URLhttps://studio.edgeimpulse.com/v1
- Auth
- API key in header x-api-key
- or API key in cookie jwt
- or API key in header x-jwt-token
- or OAuth 2Authorization code/v1/oauth/authorizeClient credentialsImplicit/v1/oauth/authorizePasswordToken URL/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Example response
{
"id": 1,
"username": "janjongboom",
"name": "Jan Jongboom",
"email": "quijote@edgeimpulse.com",
"photo": "https://usercdn.edgeimpulse.com/photos/1.jpg",
"created": "2019-08-31T17:32:28Z",
"lastSeen": "2019-08-31T17:32:28Z",
"jobTitle": "Software Engineer",
"companyName": "Edge Impulse Inc.",
"organizations": [
{
"created": "2019-08-31T17:32:28Z",
"trialId": 1,
"trialExpiredDate": "2019-08-31T17:32:28Z",
"trialUpgradedDate": "2019-08-31T17:32:28Z"
}
],
"projects": [
{
"id": 1,
"name": "Water hammer detection",
"created": "2019-07-21T17:32:28Z",
"lastAccessed": "2019-07-21T17:32:28Z",
"lastModified": "2019-07-21T17:32:28Z",
"lastModificationDetails": "Data sample added",
"collaborators": [
{
"id": 1,
"username": "janjongboom",
"name": "Jan Jongboom",
"email": "quijote@edgeimpulse.com",
"photo": "https://usercdn.edgeimpulse.com/photos/1.jpg",
"created": "2019-08-31T17:32:28Z",
"lastSeen": "2019-08-31T17:32:28Z",
"jobTitle": "Software Engineer",
"companyName": "Edge Impulse Inc."
}
],
"tags": [
"FOMO",
"beers"
]
}
],
"activeEnterpriseTrial": {
"expirationDate": "2020-01-01T00:00:00Z",
"notes": "This is a trial for the company's new project."
}
}Changes
No recorded changes to this operation across all 1 revision of this API.