Connection

Connection status

GET
/instance

The status, number and name of the key's connection, from what is stored (does not query WhatsApp). To know when the connection drops or comes back, use the instance.status webhook instead of polling in a loop.

Authorization

X-Api-Key: wpf_YOUR_KEY

The connection's API key (wpf_...), generated in the dashboard.

Authorization: Bearer wpf_YOUR_KEY

The same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).

Response Body

The connection.

application/json
  1. response
data*
curl -X GET 'https://app.wappfy.io/api/v1/instance' \  -H 'X-Api-Key: wpf_YOUR_KEY'
{  "data": {    "id": 0,    "name": "string",    "status": "connected",    "connected": true,    "phone": "string",    "push_name": "string",    "profile_picture_url": "string",    "status_updated_at": "string"  }}