---
title: "Authenticate V2"
method: POST
path: "/ceramic-cache/authenticate/v2"
---

# Authenticate V2

`POST /ceramic-cache/authenticate/v2`

SIWE-based authentication endpoint that supports both EOA and smart contract wallets.
Accepts SIWE message + signature instead of DagJWS/CACAO.
Returns JWT with `did` claim in format `did:pkh:eip155:1:0xADDRESS`

## Request body

- SiweVerifySubmit
  - `message` object, required
  - `signature` string, required

## Response `200`

OK

- AccessTokenResponse
  - `access` string, required
  - `intercom_user_hash` string, nullable

---

[API](https://skmtc.dev/passport/apis/ninjaapi.md) · [All operations](https://skmtc.dev/passport/apis/ninjaapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/passport/ninjaapi/revisions/959073d47964/schema)
