Adds contact information to the user's account.
POST {{baseUrl}}/account/3pid
Adds contact information to the user's account.
This endpoint is deprecated in favour of the more specific /3pid/add
and /3pid/bind
endpoints.
Note:
Previously this endpoint supported a bind
parameter. This parameter
has been removed, making this endpoint behave as though it was false
.
This results in this endpoint being an equivalent to /3pid/bind
rather
than dual-purpose.
Request Body
{"three_pid_creds"=>{"id_server"=>"matrix.org", "id_access_token"=>"abc123_OpaqueString", "sid"=>"abc123987", "client_secret"=>"d0nt-T3ll"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"submit_url":"https://example.org/path/to/submitToken"}