Skip to content

Get your profile

GET
/v1/me
curl --request GET \
--url https://api.disasm.dev/v1/me \
--header 'Authorization: Bearer <token>'

Returns your user profile, PAYG balance, and a summary of active subscriptions.

Your profile.

Media typeapplication/json
object
id
string format: uuid
email
string format: email
username
string
payg_balance_pence

Pay-as-you-go wallet balance, in pence.

integer
subscriptions

Active subscriptions on the account.

Array<object>
object
id
string
status

Subscription state, e.g. active, trialing, canceled.

string
plan_name
string
service_name
string
is_trial
boolean
expires_at
string format: date-time

Example

{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"email": "user@example.com",
"username": "myuser",
"payg_balance_pence": 4500,
"subscriptions": [
{
"id": "sub_abc123",
"status": "active",
"plan_name": "Incapsula Pro",
"service_name": "Incapsula",
"is_trial": false,
"expires_at": "2026-05-14T00:00:00Z"
}
]
}
X-RateLimit-Limit
integer
Example
60

Maximum requests per minute (60).

X-RateLimit-Remaining
integer
Example
59

Requests remaining in the current window.

X-RateLimit-Reset
integer
Example
1718000000

Unix timestamp when the rate limit resets.

X-Balance-Remaining
integer
Example
8250

Total subscription request balance across all keys.

X-PAYG-Balance
integer
Example
4500

PAYG wallet balance in pence.

Missing or invalid API key.

Media typeapplication/json
object
error

A human-readable message describing what went wrong.

string

Example

{
"error": "Missing or invalid API key"
}

Rate limit exceeded. See the X-RateLimit-* response headers.

Media typeapplication/json
object
error

A human-readable message describing what went wrong.

string

Example

{
"error": "Rate limit exceeded"
}
X-RateLimit-Limit
integer
Example
60

Maximum requests per minute (60).

X-RateLimit-Remaining
integer
Example
59

Requests remaining in the current window.

X-RateLimit-Reset
integer
Example
1718000000

Unix timestamp when the rate limit resets.