GET Single company

Changed on

Com este endpoint, você pode recuperar os dados de uma única subconta, utilizando o seu Id como referência.

Disponível apenas para contas revendedoras (outras contas recebem 501). Um id inexistente ou de uma subconta que não é sua responde 404.

get/api/companies/reseller/{id}

Request

  • Base URL
    https://app.plugsign.com.br
  • URL
    https://app.plugsign.com.br/api/companies/reseller/{id}
  • Auth
    API key in header Authorization

Path parameters

idinteger required

ID da company que deve ser retornada.

Response

200

Example response

{
  "data": {
    "id": 9878,
    "name": "Empresa Exemplo",
    "email": "exemplo@exemplo.com",
    "phone": "11999999999",
    "cnpj": "11111111000111",
    "address": "Rua Exemplo, 100, Centro, São Paulo",
    "can_login": 1,
    "mail_host": "smtp.exemplo.com",
    "mail_from": "no-reply@exemplo.com",
    "mail_username": "usuario@exemplo.com",
    "mail_encryption": "ssl",
    "mail_port": 465,
    "company_name": "Empresa Exemplo LTDA",
    "editablevalidate": 1
  }
}

Changes

    • breaking

      the / response's property type changed from string to object for status

    • breaking

      the / response's property type changed from string to integer for status

    • breaking

      the / response's property type changed from string to integer for status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status