Skip to content

Get the current authenticated account

GET
/v1/account
curl --request GET \
--url https://api.aetherpush.com/v1/account \
--header 'Authorization: Bearer <token>'

Returns the account profile of the authenticated user. The linkedProviders field is always an empty array in Aether (legacy Microsoft fork field, scheduled for removal).

Account profile.

Media typeapplication/json
object
account
required
object
email
required
string format: email
name
required
string
<= 255 characters
linkedProviders
required

Legacy field inherited from the Microsoft CodePush fork. Always empty in Aether. Will be removed in a future version.

Array<string>
Example
{
"account": {
"email": "adrian@aetherpush.com",
"name": "Adrian Moreno",
"linkedProviders": []
}
}

Unauthenticated.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}

Internal server error.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}