title | description |
---|---|
API Reference |
Learn how to get started with Datalink's API |
import {Code} from '../../../../components/code'; import Link from 'next/link';
Checks if the current sessionKey is valid.
```json
{
"id": 1, // Number: UserID
"token": "session_key" // String: sessionKey provided from /auth
}
```
- Valid:
```json
{
"code": 200, // Number: IETF Status Code
"status": "Session Key OK", // String: Success
}
```
- Invalid:
```json
{
"code": 401, // Number: IETF Status Code
"status": "Session Key Invalid", // String: Success
}
```