GET Instances

Retorna todas as suas sessões e/ou instancias do whatsapp

GET /instances
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.rocketsend.click/v1/instances', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

Authorizations

Authorization string header required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Responses

[
  {
    "id": {
      "description": "Id unico da instância",
      "type": "string"
    },
    "name": {
      "description": "Nome da Instância",
      "type": "string"
    },
    "token": {
      "description": "Token de identificação unico",
      "type": "string"
    },
    "webhooks": {
      "description": "Webhooks para envio de mensagens",
      "type": "String Array" | "string[]"
    },
    "status": {
      "description": "Status da conexão do WhatsApp",
      "type": "CONECTED" | "DISABLED"
    },
    "createdAt": {
      "description": "Data de criação da instancia",
      "type": "2024-06-07T01:32:12.935Z"
    },
    "updatedAt": {
      "description": "Data de alteração da instancia",
      "type": "2024-06-07T01:32:12.935Z"
    }
  }
]

Last updated