Skip to main content
POST
/
v1
/
userapp
/
token
/
{token}
/
{appname}
Create or update user app record by token
curl --request POST \
  --url http://localhost:3000/v1/userapp/token/{token}/{appname} \
  --header 'Content-Type: application/json' \
  --header 'X-Bunker-Token: <api-key>' \
  --data '
{
  "country": "UK",
  "address": "123 Main St",
  "city": "London"
}
'
{
  "status": "ok"
}

Authorizations

X-Bunker-Token
string
header
required

Root access token for Databunker API

Path Parameters

token
string<uuid>
required

User token (UUID)

appname
string
required

Application name for user app data

Body

The body is of type object.

Response

User app record created successfully

status
enum<string>
required
Available options:
ok
Example:

"ok"