Skip to content

Get current customer​

GET
/customers/me

Returns the profile of the customer associated with the provided token.

Authorizations​

bearerToken|siteContext
bearerToken

Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.

TypeHTTP (bearer)
+
siteContext

Identifier of the site context when authenticating with a personal access token.

TypeAPI Key (header: X-Nimbu-Site)
or
siteToken

Site-scoped API token that already encodes the site context.

TypeHTTP (bearer)

Parameters​

Header Parameters

X-Nimbu-Site*

Site identifier

Typestring
Required
Session-Token*

Customer session token

Typestring
Required
Authorization*

Bearer OAuth access token

Typestring
Required

Responses​

current customer returned

application/json
JSON
{
"id": "string",
"created_at": "string",
"updated_at": "string",
"name": "string",
"firstname": "string",
"lastname": "string",
"email": "string",
"language": "string",
"number": "string",
"slug": "string",
"status": "string",
"groups": [
"string"
],
"additionalProperties": "string"
}

Playground​

Authorization
Headers

Samples​