Skip to main content

v0/endpoints/{id}/security/jwts REST API Endpoint

Creates a new endpoint JWT.

Updated on
Sep 27, 2024

v0/endpoints/{id}/security/jwts REST API Endpoint

Path Parameters

id
string
REQUIRED
The unique identifier for the specific endpoint

Body Parameters

public_key
string
The public key used to verify the JWT token
kid
string
The key identifier (KID) associated with the public key
name
string
A human-readable name for the JWT configuration

Returns

data
object
The data object which contains the following fields:
id
string
A unique identifier for the JWT configuration
public_key
string
The public key used to verify the JWT token
kid
string
The key identifier (KID) associated with the public key
name
string
A human-readable name for the JWT configuration
error
string
A field containing an error message if any issue occurs
Request
1
curl -X 'POST' \
2
'https://api.quicknode.com/v0/endpoints/{id}/security/jwts' \
3
-H 'accept: */*' \
4
-H 'x-api-key: YOUR_API_KEY' \
5
-H 'Content-Type: application/json' \
6
-d '{
7
"public_key": "YOUR_PUBLIC_KEY",
8
"kid": "KEY_IDENTIFIER",
9
"name": "JWT_TOKEN_NAME"
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free