Skip to content

Get my user ID? #8

@darkpixel

Description

@darkpixel

If I use curl to authenticate using an API token to the Toggl API, it returns a blob of JSON that includes my user ID.

If I authenticate using node-toggl-api and a username and password and call the authenticate() method, I get a blob of data back with my user ID.

But if I call authenticate() when using an API Token, I get an error Error: No need to authenticate thus you use apiToken and I don't see a way to get my user ID. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions