Starfall API Documentation
  • Introduction
  • Quick Start
  • API Usage
  • API reference
    • Auth token
    • Addresses
    • Final predictions
    • Address Lookups
    • Users
Powered by GitBook
On this page
  1. API reference

Users

Get information about current user and their subscription

Use this endpoint to get information about the current user and their subscription status. This endpoint can always be called to update the user.

Requires Authorization: Token <your token> in the header.

Get information about current user

GET https://api.starfall.ai/api/users/me/

Provides information about the current user and their subscription.

{
  "username": "wG1RyvhN2l3ve@qQ-4Fe4.Wrr3MlH9alk8sanaT86aXGIki3Rr8-8k9",
  "name": "string",
  "url": "string",
  "email": "user@example.com",
  "date_joined": "2023-11-30T11:16:39.971Z",
  "last_login": "2023-11-30T11:16:39.971Z",
  "subscription": {
    "id": 0,
    "subscription_plan": {
      "id": 0,
      "created": "2023-11-30T11:16:39.971Z",
      "modified": "2023-11-30T11:16:39.971Z",
      "name": "string",
      "description": "string",
      "price": 9999999,
      "duration": 9999999,
      "max_addresses": 9999999,
      "key": "string",
      "is_active": true
    },
    "created": "2023-11-30T11:16:39.971Z",
    "modified": "2023-11-30T11:16:39.971Z",
    "start_date": "2023-11-30T11:16:39.971Z",
    "end_date": "2023-11-30T11:16:39.971Z",
    "user": 0
  },
  "email_addresses": [
    {
      "id": 0,
      "email": "user@example.com",
      "verified": true,
      "primary": true,
      "user": 0
    }
  ]
}
PreviousAddress Lookups

Last updated 1 year ago