Interface AccessTokenServerResponse

The raw server response of the access token request, following the OAuth 2.0 format. You shouldn't need to deal with it directly, use AccessTokenResponse instead. The only exception is when your server is not using the Speechify SDK, and you return the Speechify AI API response unmodified to the client app.

interface AccessTokenServerResponse {
    access_token: string;
    expires_in: number;
    scope: string;
    token_type: "bearer";
}

Properties

access_token: string
expires_in: number
scope: string
token_type: "bearer"