Profile Endpoints
Create a profile
POST
/
v1
/
profile
curl --request POST \
--url https://vault-api.stardust.gg/v1/profile \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"applicationId": "<string>"
}'
{
"id": "<string>",
"rootUserId": "<string>",
"applicationId": "<string>",
"name": "<string>",
"createdAt": "2024-04-04T17:14:46.042Z",
"wallets": [
{
"profileId": "<string>",
"applicationId": "<string>",
"lastUsedAt": "2023-11-07T05:31:56Z",
"addresses": {
"evm": "<string>",
"sol": "<string>",
"sui": "<string>"
},
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"identifiers": [
{
"rootUserId": "<string>",
"profileId": "<string>",
"service": "<string>",
"value": "<string>",
"createdAt": "2024-04-04T17:14:46.041Z",
"type": "custom",
"id": "<string>"
}
]
}
Authorizations
Response
201 - application/json
Required range:
x > 0
This field is expandable
Deprecated
This field is expandable
Required range:
x > 0
Available options:
custom
, external-wallet
Was this page helpful?
curl --request POST \
--url https://vault-api.stardust.gg/v1/profile \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"applicationId": "<string>"
}'
{
"id": "<string>",
"rootUserId": "<string>",
"applicationId": "<string>",
"name": "<string>",
"createdAt": "2024-04-04T17:14:46.042Z",
"wallets": [
{
"profileId": "<string>",
"applicationId": "<string>",
"lastUsedAt": "2023-11-07T05:31:56Z",
"addresses": {
"evm": "<string>",
"sol": "<string>",
"sui": "<string>"
},
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"identifiers": [
{
"rootUserId": "<string>",
"profileId": "<string>",
"service": "<string>",
"value": "<string>",
"createdAt": "2024-04-04T17:14:46.041Z",
"type": "custom",
"id": "<string>"
}
]
}