---
updatedAt: 2026-07-06T16:29:48.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Set Custom Properties (REST)

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "userdb",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://e-{networkId}.adzerk.net/udb/{networkId}",
      "variables": {
        "networkId": {
          "default": "networkId"
        }
      }
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/customProperties": {
      "post": {
        "summary": "Set Custom Properties (REST)",
        "description": "",
        "operationId": "set-custom-properties-alternative",
        "parameters": [
          {
            "name": "networkId",
            "in": "path",
            "description": "Your account (network) ID",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          },
          {
            "name": "userKey",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "group",
            "schema": {
              "type": "integer"
            },
            "description": "Optional. Sets the user's incrementality group (1–100) as part of this request; use `group=null` to clear it, or omit to leave it unchanged. Invalid values reject the entire request."
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "RAW_BODY": {
                    "type": "string",
                    "description": "A JSON object that can be anything since it's custom data. For instance, `{\"favoriteColor\": \"blue\"}`.",
                    "format": "json"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "[Returns a 1x1 transparent GIF image]\n"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -H \"X-Adzerk-ApiKey: $ADZERK_API_KEY\" \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"favoriteColor\":\"blue\"}' \\\n     \"https://e-23.adzerk.net/udb/23/customProperties?userKey=ue1-e397eb5990\""
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```