PUT
/
me
/
applications
/
{app}
/
data
/
fields
/
{field}
curl --request PUT \
  --url https://api.rownd.io/me/applications/{app}/data/fields/{field} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'value=<string>'
{
  "rownd_user": "user_a7b53gwdaml5jt7t71442nt7",
  "state": "enabled",
  "auth_level": "verified",
  "attributes": {
    "rownd:app_variants": [
      "app_variant_1",
      "app_variant_2"
    ],
    "myapp:subscription_status": [
      "active"
    ],
    "myapp:loyalty_points": [
      "100"
    ]
  },
  "data": {
    "user_id": "user_a7b53gwdaml5jt7t71442nt7",
    "email": "gary@foo.com",
    "first_name": "Gary",
    "last_name": "Jackson"
  },
  "verified_data": {
    "email": "gary@foo.com",
    "phone_number": "+19199993333"
  },
  "groups": [
    {
      "group": {
        "id": "group_a3l1n2lsnb3q0xbul9enjnh7",
        "name": "My Teammates",
        "member_count": 0,
        "app_id": "327677849595019856",
        "admission_policy": "invite_only",
        "meta": {},
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "updated_by": "user_t6ftnnmw55pamuhfo9xvw0yl",
        "created_by": "user_t6ftnnmw55pamuhfo9xvw0yl"
      },
      "member": {
        "id": "member_dnn5g4e3q6aptail2gr43kpj",
        "user_id": "user_fbylaq38591cghym5pabupj2",
        "roles": [
          "owner",
          "editor"
        ],
        "state": "active",
        "invited_by": "<string>",
        "added_by": "<string>",
        "profile": {
          "user_id": "user_a7b53gwdaml5jt7t71442nt7",
          "email": "gary@foo.com",
          "first_name": "Gary",
          "last_name": "Jackson"
        },
        "group_id": "group_ig42thhwf4cig25o7t9jtlyu"
      }
    }
  ],
  "meta": {
    "created": "2023-11-07T05:31:56Z",
    "modified": "2023-11-07T05:31:56Z",
    "first_sign_in": "2023-11-07T05:31:56Z",
    "first_sign_in_method": "<string>",
    "last_sign_in": "2023-11-07T05:31:56Z",
    "last_sign_in_method": "<string>",
    "last_active": "2023-11-07T05:31:56Z",
    "last_passkey_registration_prompt": "2023-11-07T05:31:56Z"
  },
  "connection_map": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token> where <token> is the user's Rownd JWT

Path Parameters

app
string
required

Rownd application ID

field
string
required

The name of a field in your application schema

Body

value
string
required

Response

200 - application/json
The value of the data field
rownd_user
string

The user's ID

Example:

"user_a7b53gwdaml5jt7t71442nt7"

state
enum<string>
default:enabled

The user's state

Available options:
enabled,
disabled
auth_level
string

The user's authentication level

Example:

"verified"

attributes
object

User profile attributes

Example:
{
  "rownd:app_variants": ["app_variant_1", "app_variant_2"],
  "myapp:subscription_status": ["active"],
  "myapp:loyalty_points": ["100"]
}
data
any

User profile data

verified_data
object

User profile data that has been verified

Example:
{
  "email": "gary@foo.com",
  "phone_number": "+19199993333"
}
groups
object[]

Groups in which the user is a member

meta
object
connection_map
object