> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# selfSignedAccessToken

Wallet Gateway

›

[User API](https://docs.canton.network/reference/wallet-gateway-json-rpc/specs/user-api.md)

›

selfSignedAccessToken

User API

# selfSignedAccessToken

JSON-RPC

[Added 1.4.0](#history-added-1-4-0)

[Updated 1.10.0](#history-updated-1-10-0)

POST

`JSON-RPC selfSignedAccessToken`

## Protocol Details

Protocol
JSON-RPC

Transport
HTTP POST

Method
selfSignedAccessToken

Parameters
1

Result
object

## Inputs

### params

Shape
object

Required
clientId, clientSecret, networkId

`networkId`
string

required

`clientId`
string

required

`clientSecret`
string

required

## Outputs

### result

Shape
object

Required
accessToken

`accessToken`
string

required

## Related Schemas

> [accordion] params
>
> `networkId`
> string
>
> required
>
> `clientId`
> string
>
> required
>
> `clientSecret`
> string
>
> required

> [accordion] result
>
> `accessToken`
> string
>
> required

## History

Updated
`1.10.0`

params updated: `params`

Added
`1.4.0`

cURL

```bash cURL theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl \
  <JSON_RPC_URL> \
  -H 'content-type: application/json' \
  --data @- <<'EOF'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "selfSignedAccessToken",
  "params": {
    "params": {
      "networkId": "<string>",
      "clientId": "<string>",
      "clientSecret": "<string>"
    }
  }
}
EOF
```

Result

application/json

```json Result theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "accessToken": "<string>"
}
```
