POST
/
api
/
sessions
/
{session}
/
start
Iniciar a sessão
curl --request POST \
  --url https://api.wappfy.com.br/api/sessions/{session}/start \
  --header 'apikey: <api-key>'
{
  "name": "session",
  "status": "STOPPED",
  "config": {
    "metadata": {
      "user.id": "123",
      "user.email": "email@example.com"
    },
    "proxy": null,
    "debug": false,
    "noweb": {
      "store": {
        "enabled": true,
        "fullSync": false
      }
    },
    "webhooks": [
      {
        "url": "https://webhook.site/11111111-1111-1111-1111-11111111",
        "events": [
          "message",
          "session.status"
        ],
        "hmac": null,
        "retries": null,
        "customHeaders": null
      }
    ]
  }
}

Authorizations

apikey
string
header
required

Apikey

Path Parameters

session
string
required

O nome da sessão (instanceName) que você deseja iniciar

Response

201 - application/json
name
string
required

Nome da sessão (instanceName)

Example:

"session"

status
enum<string>
required
Available options:
STOPPED,
STARTING,
SCAN_QR_CODE,
WORKING,
FAILED
config
object