POST
/
api
/
v2
/
instances
Cria uma nova instância
curl --request POST \
  --url https://server.zapperapi.com/api/v2/instances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "<string>"
}'
{
  "instance": {
    "id": "<string>",
    "ownerId": "<string>",
    "apikey": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API Key global para autenticação na Instance API

Body

application/json
label
string

Nome amigável para exibição

Response

201 - application/json

Default Response

instance
object
required