POST
/
api
/
developer
cURL
curl --request POST \
  --url https://chatbot.menuia.com/api/developer \
  --header 'Content-Type: application/json' \
  --data '{
  "appkey": "<string>",
  "authkey": "<string>",
  "to": "<string>",
  "message": "<string>"
}'
{
  "status": 200,
  "message": "<string>"
}

Descrição

Este endpoint permite criar um novo aplicativo (gerando um appkey), associando-o a um dispositivo especificado. O nome do aplicativo é definido pelo usuário, e o dispositivo ao qual ele será associado é indicado por seu ID ou nome.

Parâmetros

* authkey: Chave de autenticação do usuário.
* message: Nome do aplicativo a ser criado.
* criarApp: ID ou nome do dispositivo ao qual o aplicativo será associado.

Exemplo de Requisição

{
  "authkey": "SUA_AUTHKEY_AQUI",
  "message": "Nome do App",
  "criarApp": "ID_OU_NOME_DO_DISPOSITIVO"
}

Body

application/json

Parâmetros necessários para enviar uma mensagem.

The body is of type object.

Response

200
application/json

string

The response is of type object.