Exchange token
Exchange an API key for an access token.
Body
required
application/json
- Type: stringpersonal
Token required
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/v1/auth/exchange
import { Scalar } from "@scalar/sdk";
const scalar = new Scalar();
async function run() {
const result = await scalar.authentication.postv1AuthExchange({
personalToken: "<value>",
});
console.log(result);
}
run();
{
"accessToken": "string"
}