Skip to main content
GET
/
users
/
me
Gets current user's info.
curl --request GET \
  --url https://api.leadping.ai/users/me \
  --header 'Authorization: <api-key>'
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "modifiedAt": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "email": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "phone": "<string>",
  "roles": [],
  "identities": [
    {
      "issuer": "<string>",
      "issuerAssignedId": "<string>",
      "signInType": "<string>"
    }
  ],
  "stripeInfo": {
    "customerId": "<string>",
    "defaultPaymentMethodId": "<string>",
    "subscriptionIds": [
      "<string>"
    ],
    "cancelAt": "2023-11-07T05:31:56Z"
  },
  "accountBalance": 123,
  "autoRefillEnabled": true,
  "autoRefillAmount": 123,
  "autoRefillTrigger": 123,
  "business": {
    "id": "<string>",
    "name": "<string>"
  },
  "compliance": {
    "acceptedTerms": true,
    "acceptedToSubscription": true,
    "acceptedSms": true,
    "acceptedBaa": true,
    "acceptedEmail": true,
    "trustedFormCertificates": [
      {
        "id": "<string>",
        "url": "<string>",
        "source": "<string>",
        "createdAt": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://leadping.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. (i.e. "Bearer 1234abcdef")

Response

OK

id
string | null
createdAt
string<date-time>
modifiedAt
string<date-time> | null
name
string | null
email
string | null
firstName
string | null
lastName
string | null
phone
string | null
billingPlan
enum<string>
Available options:
Annual,
Monthly
subscriptionStatus
enum<string>
Available options:
Pending,
Active,
Overdue,
Canceled
roles
enum<string>[] | null

A user can have multiple role types.

Available options:
Initialized,
Agent,
Admin,
SuperUser
identities
object[] | null
stripeInfo
object
accountBalance
number<double>
autoRefillEnabled
boolean
autoRefillAmount
number<double> | null
autoRefillTrigger
number<double> | null
business
object
compliance
object