Fork me on GitHub

Wire App: Bot Authentication

The following URL is the one required to register a new Wire App Bot provider: https://prod-nginz-https.wire.com/provider/login

When crafting your API call to register a new bot provider, you should be using the POST method.

For the headers use the following key:value pair:

Content-Type: application/json

The Body of the request should be the following:

{"email": "The email you registered the provider with", "password": "The password you received after registering as a bot provider"}

I used Postman, a piece of software, that makes API development easier. It can be obtained here: https://www.getpostman.com/

If you prefer to use cURL, the command would be as follows:

curl -s -XPOST https://prod-nginz-https.wire.com/provider/login -H "Content-Type: application/json" -d {"email": "The email you registered the provider with", "password": "The password you received after registering as a bot provider"} -c ./.cookie

The login API call will return a cookie which is used for future calls. The -c ./.cookie paramater will save the output of the cookie into this file for later use.