Ask the homeserver to ping the application service to ensure the connection works.
This API asks the homeserver to call the /_matrix/app/v1/ping endpoint on the application service to ensure that the homeserver can communicate with the application service.
This API requires the use of an application service access token (as_token) instead of a typical client's access token. This API cannot be invoked by users who are not identified as application services. Additionally, the appservice ID in the path must be the same as the appservice whose as_token is being used.
post/_matrix/client/v1/appservice/{appserviceId}/ping
Request
- Base URLhttps://matrix.org
- Auth
- API key in query parameter access_token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
appserviceIdstring required
The appservice ID of the appservice to ping. This must be the same as the appservice whose as_token is being used to authenticate the request.
Request body
Example request
{
"transaction_id": "mautrix-go_1683636478256400935_123"
}Response
The ping was successful.
Changes
No recorded changes to this operation across all 1 revision of this API.