Try asking a question about Knot to the AI assistant, or install the MCP server or Knot skill to build with AI right from your IDE.
curl --request GET \
--url https://development.knotapi.com/jwe/key \
--header 'Authorization: Basic <encoded-value>'{
"alg": "RSA-OAEP-256",
"e": "...",
"key_ops": [
"encrypt"
],
"kid": "...",
"kty": "RSA",
"n": "...",
"use": "enc"
}Retrieve a public key in JWK format.
curl --request GET \
--url https://development.knotapi.com/jwe/key \
--header 'Authorization: Basic <encoded-value>'{
"alg": "RSA-OAEP-256",
"e": "...",
"key_ops": [
"encrypt"
],
"kid": "...",
"kty": "RSA",
"n": "...",
"use": "enc"
}Documentation Index
Fetch the complete documentation index at: https://docs.knotapi.com/llms.txt
Use this file to discover all available pages before exploring further.
{
"user": {
"name": {
"first_name": "Ada", // Max length: 255
"last_name": "Lovelace" // Max length: 255
},
"address": {
"street": "100 Main Street", // Max length: 46
"street2": "#100", // Max length: 46
"city": "NEW YORK", // Max length: 32
"region": "NY", // Must be an ISO 3166-2 sub-division code
"postal_code": "12345", // Min length: 5, Max length: 10
"country": "US" // Must be an ISO 3166-1 alpha-2 code
},
"phone_number": "+11234567890" // Must be in E.164 format
},
"card": {
"number": "4242424242424242",
"expiration": "08/2030", // MM/YYYY or MM/YY format
"cvv": "012" // Max length: 4
}
}
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.
Successful request.
Algorithm intended for use with the key.
"RSA-OAEP-256"
Exponent value for the RSA public key in Base64 URL format.
"..."
Operation permitted for the key.
["encrypt"]
Unique identifier for the kid.
"..."
Type of key.
"RSA"
Modulus value for the RSA public key in Base64 URL format.
"..."
Intended use of the key.
"enc"
Was this page helpful?
Suggestions