Skip to main content
POST
/
v1
/
auth
/
login
Login
curl --request POST \
  --url https://api.usenaive.ai/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "password": "<string>"
}
'
{
  "api_key": "<string>",
  "agent_id": "<string>",
  "company_id": "<string>",
  "company_name": "<string>",
  "companies": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ],
  "hint": "<string>"
}

Body

application/json
email
string<email>
required
password
string
required

Response

Authenticated.

api_key
string
agent_id
string
company_id
string
company_name
string | null
companies
object[]
hint
string