- Introduction
- Auth
- Bolts
- Environments
- Git
- Domains
- Logs
- List Environments
- Create Environment
- Get Environment
- Update Environment
- Delete Environment
- Purge Environment Cache
- List Environment Cronjobs
- Get Environment Statistics
- Get Environment Available Settings
- Get Environment PHP Versions
- Get Environment Usage
- Get Environment SSH Accesses
- Create Environment SSH Access
- Remove Environment SSH Access
- List Environment Databases
- Toggle Environment Dev Mode
- Environment Install Wordpress
- Environment Optimize Wordpress
- Locations
- Databases
- Cronjobs
- SSH Keys
- Certificates
- Billing
- Profile
User Info
GET
https://api.servebolt.io/v1/auth/user-info
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.servebolt.io/v1/auth/user-info' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Responses
🟢200OK
application/json
Body
data
object
required
sub
string
required
given_name
string
required
family_name
string
required
nickname
string
required
name
string
required
updated_at
string
required
email
string
required
email_verified
boolean
required
algolia_token
string
required
signup_state
string
required
intercom_user_hash
string
required
account_id
integer
required
account_email
string
required
account_name
string
required
account_picture
string
required
Example
{
"data": {
"sub": "string",
"given_name": "string",
"family_name": "string",
"nickname": "string",
"name": "string",
"updated_at": "string",
"email": "string",
"email_verified": true,
"algolia_token": "string",
"signup_state": "string",
"intercom_user_hash": "string",
"account_id": 0,
"account_email": "string",
"account_name": "string",
"account_picture": "string"
}
}
Modified at 2024-05-14 09:37:05