Get authenticated user account info without balances
PERS-api docs (2.0.2)
https://docs.pers.ninja/_mock/swagger/
https://api.pers.ninja/v2/
- Mock server
https://docs.pers.ninja/_mock/swagger/users/me
https://api.pers.ninja/v2/users/me
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.pers.ninja/_mock/swagger/users/me \
-H 'x-project-key: YOUR_API_KEY_HERE'User found
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
{ "id": "string", "email": {}, "firstName": {}, "lastName": {}, "externalId": {}, "accountAddress": {}, "instagramAccountId": {}, "googleAccountName": {}, "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": {}, "wallets": [ { … } ] }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/me
https://api.pers.ninja/v2/users/me
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://docs.pers.ninja/_mock/swagger/users/me \
-H 'Content-Type: application/json' \
-H 'x-project-key: YOUR_API_KEY_HERE' \
-d '{
"email": "string",
"instagramAccountId": "string",
"googleAccountName": "string",
"firstName": "string",
"lastName": "string",
"externalId": "string",
"customData": {},
"publicProfile": {},
"isActive": true
}'User updated
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
{ "id": "string", "email": {}, "firstName": {}, "lastName": {}, "externalId": {}, "accountAddress": {}, "instagramAccountId": {}, "googleAccountName": {}, "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": {}, "wallets": [ { … } ] }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/me/balance
https://api.pers.ninja/v2/users/me/balance
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.pers.ninja/_mock/swagger/users/me/balance \
-H 'x-project-key: YOUR_API_KEY_HERE'User found
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
{ "id": "string", "email": {}, "firstName": {}, "lastName": {}, "externalId": {}, "accountAddress": {}, "instagramAccountId": {}, "googleAccountName": {}, "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": {}, "wallets": [ { … } ], "tokenBalances": [ { … } ] }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/me/status
https://api.pers.ninja/v2/users/me/status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.pers.ninja/_mock/swagger/users/me/status \
-H 'x-project-key: YOUR_API_KEY_HERE'[ { "name": "string", "description": "string", "minTokenBalance": 0, "discountPercentage": 0, "imageUrl": "string", "id": 0, "eligibleTokenAddresses": [ … ] } ]
- Mock server
https://docs.pers.ninja/_mock/swagger/users/exists
https://api.pers.ninja/v2/users/exists
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/users/exists?filterValue=string&filterKey=id' \
-H 'x-project-key: YOUR_API_KEY_HERE'{ "exists": true, "identifier": "email" }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/public
https://api.pers.ninja/v2/users/public
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/users/public?filterKey=string&filterValue=string' \
-H 'x-project-key: YOUR_API_KEY_HERE'[ { "id": "string", "publicProfile": {} } ]
- Mock server
https://docs.pers.ninja/_mock/swagger/users/public/{id}
https://api.pers.ninja/v2/users/public/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/users/public/{id}' \
-H 'x-project-key: YOUR_API_KEY_HERE'{ "id": "string", "publicProfile": {} }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/status-types
https://api.pers.ninja/v2/users/status-types
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.pers.ninja/_mock/swagger/users/status-types \
-H 'x-project-key: YOUR_API_KEY_HERE'[ { "name": "string", "description": "string", "minTokenBalance": 0, "discountPercentage": 0, "imageUrl": "string", "id": 0, "eligibleTokenAddresses": [ … ] } ]
- Mock server
https://docs.pers.ninja/_mock/swagger/users/status-types
https://api.pers.ninja/v2/users/status-types
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/users/status-types \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"description": "string",
"minTokenBalance": 0,
"discountPercentage": 0,
"imageUrl": "string"
}'{ "name": "string", "description": "string", "minTokenBalance": 0, "discountPercentage": 0, "imageUrl": "string", "id": 0, "eligibleTokenAddresses": [ "string" ] }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/status-types/{id}
https://api.pers.ninja/v2/users/status-types/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/users/status-types/{id}' \
-H 'x-project-key: YOUR_API_KEY_HERE'{ "name": "string", "description": "string", "minTokenBalance": 0, "discountPercentage": 0, "imageUrl": "string", "id": 0, "eligibleTokenAddresses": [ "string" ] }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/status-types/{id}/eligible-tokens/{tokenAddress}
https://api.pers.ninja/v2/users/status-types/{id}/eligible-tokens/{tokenAddress}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.pers.ninja/_mock/swagger/users/status-types/{id}/eligible-tokens/{tokenAddress}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "name": "string", "description": "string", "minTokenBalance": 0, "discountPercentage": 0, "imageUrl": "string", "id": 0, "eligibleTokenAddresses": [ "string" ] }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/info
https://api.pers.ninja/v2/users/info
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/users/info \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"instagramAccountId": "string",
"googleAccountName": "string",
"firstName": "string",
"lastName": "string",
"externalId": "string",
"customData": {},
"publicProfile": {},
"isActive": true
}'User found
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
{ "id": "string", "email": {}, "firstName": {}, "lastName": {}, "externalId": {}, "accountAddress": {}, "instagramAccountId": {}, "googleAccountName": {}, "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": {}, "wallets": [ { … } ] }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/balance
https://api.pers.ninja/v2/users/balance
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/users/balance \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"instagramAccountId": "string",
"googleAccountName": "string",
"firstName": "string",
"lastName": "string",
"externalId": "string",
"customData": {},
"publicProfile": {},
"isActive": true
}'User found
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
{ "id": "string", "email": {}, "firstName": {}, "lastName": {}, "externalId": {}, "accountAddress": {}, "instagramAccountId": {}, "googleAccountName": {}, "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": {}, "wallets": [ { … } ], "tokenBalances": [ { … } ] }
Single user object or array of users (bulk operations require admin authentication)
- Mock server
https://docs.pers.ninja/_mock/swagger/users
https://api.pers.ninja/v2/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/users \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'User(s) created/updated
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
[]
- Mock server
https://docs.pers.ninja/_mock/swagger/users
https://api.pers.ninja/v2/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/users?sanitize=string&merge=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Users found
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
[ { "id": "string", "email": {}, "firstName": {}, "lastName": {}, "externalId": {}, "accountAddress": {}, "instagramAccountId": {}, "googleAccountName": {}, "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": {}, "wallets": [ … ] } ]
- Mock server
https://docs.pers.ninja/_mock/swagger/users/{id}
https://api.pers.ninja/v2/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/users/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'User found
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
{ "id": "string", "email": {}, "firstName": {}, "lastName": {}, "externalId": {}, "accountAddress": {}, "instagramAccountId": {}, "googleAccountName": {}, "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": {}, "wallets": [ { … } ] }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/{id}
https://api.pers.ninja/v2/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.pers.ninja/_mock/swagger/users/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"instagramAccountId": "string",
"googleAccountName": "string",
"firstName": "string",
"lastName": "string",
"externalId": "string",
"customData": {},
"publicProfile": {},
"isActive": true
}'User updated
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
{ "id": "string", "email": {}, "firstName": {}, "lastName": {}, "externalId": {}, "accountAddress": {}, "instagramAccountId": {}, "googleAccountName": {}, "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": {}, "wallets": [ { … } ] }
- Mock server
https://docs.pers.ninja/_mock/swagger/users/bulk/url
https://api.pers.ninja/v2/users/bulk/url
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/users/bulk/url \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://example.com/user-data"
}'Users created
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
[ { "id": "string", "email": {}, "firstName": {}, "lastName": {}, "externalId": {}, "accountAddress": {}, "instagramAccountId": {}, "googleAccountName": {}, "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": {}, "wallets": [ … ] } ]
- Mock server
https://docs.pers.ninja/_mock/swagger/users/{id}/status
https://api.pers.ninja/v2/users/{id}/status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.pers.ninja/_mock/swagger/users/{id}/status' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'User status updated
User-owned counterfactual smart contract wallets that can receive tokens
Owner type for polymorphic ownership
Type of internal wallet
Current status of the wallet
ID of signing account that owns this internal wallet
{ "id": "string", "email": {}, "firstName": {}, "lastName": {}, "externalId": {}, "accountAddress": {}, "instagramAccountId": {}, "googleAccountName": {}, "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": {}, "wallets": [ { … } ] }