Skip to main content
GET
/
salespeople
Listar responsáveis comerciais
curl --request GET \
  --url http://localhost/api/v1/salespeople \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "name": "<string>",
      "legal_name": "<string>",
      "document_type": "<string>",
      "document": "<string>",
      "email": "<string>",
      "phone": "<string>",
      "mobile": "<string>",
      "commercial_status": "<string>",
      "status": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "meta": {
    "page": 123,
    "per_page": 123,
    "total": 123,
    "last_page": 123
  },
  "links": {
    "next": "<string>",
    "prev": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key do hub com escopo manage. Header: Authorization: Bearer <api_key>.

Response

data
SalespersonResource · object[]
required
meta
object
required