REST APIEnterprise

GET

Get the signing key for an enterprise user. The signing key is used to sign arbitrary messages, which other enterprise users can verify. The caller of this API must have view permissions on the enterprise.

Path Params

  • enterpriseId string required

    at least 1 characters · matches ^[0-9a-f]{32}$

  • userId string required

    at least 1 characters · matches ^([0-9a-f]{32}|me)$

Responses

200
OK

Response Body

object

  • userId string required

    matches ^[0-9a-f]{32}$

  • userEmail string email required
  • derivedPubkey string required
    The derived public key of the user.
  • derivationPath string nullable
    The derivation path used to derive derivedPubkey. Returned only if you're fetching your own signing key.
  • ecdhKeychain string nullable
    The bip32 public key that you can use to fetch a v1 keychain. Returned only if you're fetching your own signing key.
400
Bad Request

Response Body

ONE OF

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
404
Not Found

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id