Download OpenAPI specification:Download
API calls to authenticate the user. These calls are also included in other API documentation for convenience.
username required | string The user's myTurn.com username, or their membership ID with their organization/tool library. |
password required | string The user's myTurn.com password. |
{- "username": "string",
- "password": "string"
}
{- "username": "string",
- "lastName": "string",
- "firstName": "string",
- "displayName": "string",
- "emailAddress": "string",
- "expires_in": 0,
- "token_type": "Bearer",
- "access_token": "string",
- "roles": [
- "string"
], - "isAdmin": true,
- "membership": {
- "name": "string",
- "mayBorrow": true,
- "mayUseKiosk": true,
- "mayBorrowMax": 0,
- "expiration": "string",
- "isExpired": true
}, - "organizations": [
- {
- "id": "string",
- "apiUrl": "string",
- "name": "string",
- "logo": "string",
- "selfServeEnabled": true,
- "membership": {
- "name": "string",
- "mayBorrow": true,
- "mayUseKiosk": true,
- "mayBorrowMax": 0,
- "expiration": "string",
- "isExpired": true
}
}
]
}
grant_type required | string Value: "refresh_token" Must always be "refresh_token". |
refresh_token required | string The refresh token issued to the client during a previous login or refresh. |
{- "username": "string",
- "lastName": "string",
- "firstName": "string",
- "displayName": "string",
- "emailAddress": "string",
- "expires_in": 0,
- "token_type": "Bearer",
- "access_token": "string",
- "roles": [
- "string"
], - "isAdmin": true,
- "membership": {
- "name": "string",
- "mayBorrow": true,
- "mayUseKiosk": true,
- "mayBorrowMax": 0,
- "expiration": "string",
- "isExpired": true
}, - "organizations": [
- {
- "id": "string",
- "apiUrl": "string",
- "name": "string",
- "logo": "string",
- "selfServeEnabled": true,
- "membership": {
- "name": "string",
- "mayBorrow": true,
- "mayUseKiosk": true,
- "mayBorrowMax": 0,
- "expiration": "string",
- "isExpired": true
}
}
]
}
email required | string The user's email address |
{- "email": "string"
}
"If a matching account exists, we will send a password reset to the address on file."
string The user's myTurn.com username |
{- "email": "string"
}
"OK"
membersId | string The user's member id within this organization |
{- "membersId": "string"
}
"OK"
{- "username": "string",
- "lastName": "string",
- "firstName": "string",
- "displayName": "string",
- "emailAddress": "string",
- "expires_in": 0,
- "token_type": "Bearer",
- "access_token": "string",
- "roles": [
- "string"
], - "isAdmin": true,
- "membership": {
- "name": "string",
- "mayBorrow": true,
- "mayUseKiosk": true,
- "mayBorrowMax": 0,
- "expiration": "string",
- "isExpired": true
}, - "organizations": [
- {
- "id": "string",
- "apiUrl": "string",
- "name": "string",
- "logo": "string",
- "selfServeEnabled": true,
- "membership": {
- "name": "string",
- "mayBorrow": true,
- "mayUseKiosk": true,
- "mayBorrowMax": 0,
- "expiration": "string",
- "isExpired": true
}
}
]
}
{- "username": "string",
- "lastName": "string",
- "firstName": "string",
- "displayName": "string",
- "emailAddress": "string",
- "expires_in": 0,
- "token_type": "Bearer",
- "access_token": "string",
- "roles": [
- "string"
], - "isAdmin": true,
- "membership": {
- "name": "string",
- "mayBorrow": true,
- "mayUseKiosk": true,
- "mayBorrowMax": 0,
- "expiration": "string",
- "isExpired": true
}, - "organizations": [
- {
- "id": "string",
- "apiUrl": "string",
- "name": "string",
- "logo": "string",
- "selfServeEnabled": true,
- "membership": {
- "name": "string",
- "mayBorrow": true,
- "mayUseKiosk": true,
- "mayBorrowMax": 0,
- "expiration": "string",
- "isExpired": true
}
}
]
}
[- {
- "organization": {
- "id": "string",
- "apiUrl": "string",
- "name": "string",
- "logo": "string",
- "selfServeEnabled": true,
- "membership": {
- "name": "string",
- "mayBorrow": true,
- "mayUseKiosk": true,
- "mayBorrowMax": 0,
- "expiration": "string",
- "isExpired": true
}
}
}
]