Skip to main content
GET
/
v1
/
identity
Get identity
curl --request GET \
  --url https://api.usenaive.ai/v1/identity \
  --header 'Authorization: Bearer <token>'
{
  "agent": {
    "id": "<string>",
    "name": "<string>",
    "role": "<string>",
    "department": "<string>"
  },
  "company": {
    "id": "<string>",
    "name": "<string>",
    "prefix": "<string>"
  },
  "resources": {
    "emails": [
      {
        "id": "<string>",
        "address": "<string>",
        "local_part": "<string>",
        "agent_id": "<string>",
        "status": "<string>"
      }
    ],
    "domains": [
      {
        "id": "<string>",
        "domain": "<string>",
        "status": "<string>",
        "dns_status": "<string>",
        "byod": true
      }
    ]
  },
  "credits": {
    "balance": 123,
    "tier": "<string>",
    "period_end": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Response

OK.

agent
object
company
object
resources
object
credits
object