MigratePersonalTokenArgs
type MigratePersonalTokenArgs = {
clientId: string;
clientSecret: string;
personalToken: string;
scope: readonly Permission[];
};
Parameters required to migrate a personal API token to an OAuth token.
Properties
clientId
clientId: string;
The unique Client ID of the registered Todoist application.
clientSecret
clientSecret: string;
The unique Client Secret of the registered Todoist application.
personalToken
personalToken: string;
The personal API token obtained from email/password authentication.
scope
scope: readonly Permission[];
Scopes for the new OAuth token.