POST /2/users/{id}/public_keys

Registers a user's public key for X Chat encryption.

Servers

Path parameters

Name Type Required Description
id String Yes

The ID of the requesting user.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
public_key Object Yes

Public key registration payload.

public_key.identity_public_key_signature String No

Signature over the identity public key.

public_key.signing_public_key_signature String No

Signature over the signing public key.

public_key.public_key String No

Identity public key (base64 encoded).

public_key.public_key_fingerprint String No

Fingerprint of the identity public key.

public_key.registration_method String No

Registration method for the public key.

public_key.signing_public_key String No

Signing public key (base64 encoded).

version String Yes

Public key version.

generate_version Boolean No

When true, the server generates a new version.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.