QueryGet user profile

Get user profile

Get user's profile information (name, email, status)

curl -X GET "https://api.spkey.co/users/example_string/profile" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "userId": "example_string",
  "email": "user@example.com",
  "firstName": "John Doe",
  "lastName": "John Doe",
  "phoneNumber": "+1-555-0123",
  "status": "ACTIVE"
}
GET
/users/{id}/profile
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.
API Key (header: X-API-Key)
X-API-Keystring
Required

API key for B2B organization access. Provided during organization onboarding.

API key for B2B organization access. Provided during organization onboarding.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

header
X-API-Keystring
Required

API Key for authentication. API key for B2B organization access. Provided during organization onboarding.

Path Parameters

Responses

userIdstring
Required
emailstring
firstNamestring
lastNamestring
phoneNumberstring
statusstring
Allowed values:ACTIVEINACTIVESUSPENDED