Skip to main content
GET
/
api
/
v1
/
user
/
company
Get company profile
curl --request GET \
  --url http://localhost:7701/api/v1/user/company \
  --header 'Authorization: Bearer <token>'
{
  "id": 1,
  "name": "Empresa LTDA",
  "cnpj": "12345678000190",
  "financial_email": "fin@empresa.com",
  "phone": "11900000000",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

User JWT token — obtained from /api/v1/auth/login or /api/v1/auth/register.

Response

Company profile

id
integer
Example:

1

name
string
Example:

"Empresa LTDA"

cnpj
string | null
Example:

"12345678000190"

financial_email
string | null
Example:

"fin@empresa.com"

phone
string | null
Example:

"11900000000"

created_at
string<date-time>