curl https://production.methodfi.com/teams/mle/public_keys/team_jwk_12345 \
-H "Method-Version: 2025-07-04" \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
const key = await method.teams.mle.publicKeys.retrieve('team_jwk_12345');
key = method.teams.mle.public_keys.retrieve('team_jwk_12345')
{
"success": true,
"data": {
"id": "team_jwk_12345",
"type": "direct",
"jwk": {
"kid": "my-sig-key-2026",
"kty": "RSA",
"alg": "RS256",
"use": "sig",
"n": "p7K4R2Xb...M4a",
"e": "AQAB",
"iat": 1780309800,
"nbf": 1780309800,
"exp": 1811845800
},
"well_known_endpoint": null,
"status": "active",
"contact": "security@yourcompany.com",
"created_at": "2026-06-01T10:30:00Z",
"updated_at": "2026-06-01T10:30:00Z"
},
"message": null
}
Team JWKS
Retrieve MLE Public Key
GET
/
teams
/
mle
/
public_keys
/
{id}
curl https://production.methodfi.com/teams/mle/public_keys/team_jwk_12345 \
-H "Method-Version: 2025-07-04" \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
const key = await method.teams.mle.publicKeys.retrieve('team_jwk_12345');
key = method.teams.mle.public_keys.retrieve('team_jwk_12345')
{
"success": true,
"data": {
"id": "team_jwk_12345",
"type": "direct",
"jwk": {
"kid": "my-sig-key-2026",
"kty": "RSA",
"alg": "RS256",
"use": "sig",
"n": "p7K4R2Xb...M4a",
"e": "AQAB",
"iat": 1780309800,
"nbf": 1780309800,
"exp": 1811845800
},
"well_known_endpoint": null,
"status": "active",
"contact": "security@yourcompany.com",
"created_at": "2026-06-01T10:30:00Z",
"updated_at": "2026-06-01T10:30:00Z"
},
"message": null
}
Retrieves a specific public key registration by its ID. A direct registration holds a single JWK, which may be an encryption key (
use: "enc") or a signing key (use: "sig"). A well-known registration holds no JWK of its own, and the endpoint it points to may serve keys of both uses.
Path Parameters
Returns
Returns the specified public key registration object.curl https://production.methodfi.com/teams/mle/public_keys/team_jwk_12345 \
-H "Method-Version: 2025-07-04" \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
const key = await method.teams.mle.publicKeys.retrieve('team_jwk_12345');
key = method.teams.mle.public_keys.retrieve('team_jwk_12345')
{
"success": true,
"data": {
"id": "team_jwk_12345",
"type": "direct",
"jwk": {
"kid": "my-sig-key-2026",
"kty": "RSA",
"alg": "RS256",
"use": "sig",
"n": "p7K4R2Xb...M4a",
"e": "AQAB",
"iat": 1780309800,
"nbf": 1780309800,
"exp": 1811845800
},
"well_known_endpoint": null,
"status": "active",
"contact": "security@yourcompany.com",
"created_at": "2026-06-01T10:30:00Z",
"updated_at": "2026-06-01T10:30:00Z"
},
"message": null
}