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

Authorizations

X-Bunker-Token
string
header
required

Root access token for Databunker API

Path Parameters

phone
string
required

User phone number

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"