Publish an association between a session and a Matrix user ID.
POST {{baseUrl}}/3pid/bind
Publish an association between a session and a Matrix user ID.
Future calls to /lookup
for any of the session\'s 3pids will return
this association.
Note: for backwards compatibility with previous drafts of this
specification, the parameters may also be specified as
application/x-form-www-urlencoded
data. However, this usage is
deprecated.
Request Body
{"sid"=>"1234", "client_secret"=>"monkeys_are_GREAT", "mxid"=>"@ears:matrix.org"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"address":"louise@bobs.burgers","medium":"email","mxid":"@ears:matrix.org","not_before":1428825849161,"not_after":4582425849161,"ts":1428825849161,"signatures":{"matrix.org":{"ed25519:0":"ENiU2YORYUJgE6WBMitU0mppbQjidDLanAusj8XS2nVRHPu+0t42OKA/r6zV6i2MzUbNQ3c3MiLScJuSsOiVDQ"}}}