Fork me on GitHub

wire

Wire App: Bot Registration Scripts

Registering a bot with Wire Secure Messaging Services

You may be attempting to register your bot with the backend of Wire's secure messaging service. 

On most of the Wire github repositories for the various bots that have been developed, they all make mention of adding the "Don" bot or the "DevBot" in order to register your bot with their service.

Unfortunately, the "Don" bot as far as I am aware has been moved to Wire's Secure Messaging Teams. The "DevBot" I don't really know all that much about.

So you still might be wondering, how on earth do I register my service? Well during my scouring of the Wire repositories on github I came across a few shell scripts created by Dejan Kovacevic whom has created the Java based bot.

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:

Wire App: Bot Provider Registration

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

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:

{"name": "Name of the Bot", "email": "Email to register the bot under", "url": "enter your website or just use https://","description": "Description about your bot"}

Once you submit your API call, check your email for a registration verification link. 

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

Wire App:Bot SDK API Calls

These are the API calls I've found which are required to register a new bot for the Wire secure messaging application:

Bot API Calls

Bot/Account Provider Registration: https://prod-nginz-https.wire.com/provider/register
Bot Authentication: https://prod-nginz-https.wire.com/provider/login
Bot Service Registration: https://prod-nginz-https.wire.com/providers/services