Sign invitation details

POST {{baseUrl}}/sign-ed25519

Sign invitation details.

The identity server will look up token which was stored in a call to store-invite, and fetch the sender of the invite.

Request Body

{"mxid"=>"@foo:bar.com", "token"=>"sometoken", "private_key"=>"base64encodedkey"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"mxid":"@foo:bar.com","sender":"@baz:bar.com","signatures":{"my.id.server":{"ed25519:0":"def987"}},"token":"abc123"}