Create/Update ContentDB Record

Changed on

This lets you create or update a ContentDB Record. POSTing to this endpoint is an "upsert" operation - if a value doesn't exist, it will create a new value. Otherwise, it will override the current value.

post/cdb/{networkId}/custom/{schemaName}/{contentKey}

Request

  • Base URL
    https://e-YOUR-NETWORKID.adzerk.net
  • URL
    https://e-YOUR-NETWORKID.adzerk.net/cdb/{networkId}/custom/{schemaName}/{contentKey}
  • Auth
    none required

Path parameters

networkIdinteger required

Your account (network) ID

schemaNamestring required

"Folder" that contains records, usually grouped around a theme, like Album.

contentKeystring required

The record you want to tie metadata (the JSON object) to, like Album 485.

Request body

JSON Objectobject

JSON object (key/value pair) to associate with that Schema's record (the contentkey). Such as {"Artist":"Queen"}

Response

200

codeinteger
messagestring

Example response

{
  "code": 200,
  "message": "OK"
}

Changes