Fork me on GitHub

Wire App: Bot Service Registration

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

When crafting your API call to register a new bot service, you should be using the POST method. This is not to be confused with registering a provider.

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. Should be same as the Bot Provider Name", "description": "Description about the bot, can be same as bot provider description", "summary": "Can be same as description", "base_url": "https://INSERT_URL_OR_IP_ADDRESS:8050", "public_key": "-----BEGIN PUBLIC KEY----- INSERT YOUR KEY HERE -----END PUBLIC KEY-----", "tags": ["insert,your,tags"]}

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/

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

curl -XPOST https://prod-nginz-https.wire.com/provider/register -H "Content-Type: application/json" -d {"name": "Name of the bot. Should be same as the Bot Provider Name", "description": "Description about the bot, can be same as bot provider description", "summary": "Can be same as description", "base_url": "https://INSERT_URL_OR_IP_ADDRESS:8050", "public_key": "-----BEGIN PUBLIC KEY----- INSERT YOUR KEY HERE -----END PUBLIC KEY-----", "tags": ["insert,your,tags"]}