Create or retrieve API token for a user.

Handles both:

  • Users authenticating with basic credentials to get a token
  • Two-factor authentication flow
Body Params
string
length ≥ 1

Email address to authenticate with

string
length ≥ 1

Password to authenticate with

string
length ≥ 1

Two-factor authentication code

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution

With support for all major package formats, you can trust us to manage your software supply chain.


Start My Free Trial Now
Cookie Declaration (Manage Cookies)