---
title: "POST /loginwithcert"
method: POST
path: "/loginwithcert"
tags: ["Authentication"]
---

# POST /loginwithcert

`POST /loginwithcert`

## Request

- Base URL: `https://sort.veritas.com/infoscale/api/2.0`
- URL: `https://sort.veritas.com/infoscale/api/2.0/loginwithcert`
- Auth: none declared
- TypeScript: <https://skmtc.dev/veritas/apis/veritas-infoscale-api/docs/loginwithcert/post.ts> (a function with typed inputs; its response is checked against the schema)

Log in with a machine or user certificate and receive a JSON Web Token (JWT)
that is used on all subsequent API
requests.

## Response `201`

Successfully logged in.

- LoginResponse
  - `token` string: The token to use for subsequent API requests.

## Other responses

- `401`: Authentication failed.
- `404`: Not Found

---

[API](https://skmtc.dev/veritas/apis/veritas-infoscale-api.md) - [All operations](https://skmtc.dev/veritas/apis/veritas-infoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/veritas/apis/veritas-infoscale-api/revisions/1e3d3f7145bb?raw)
