Use REST API to create or update data in a data extension synchronously.

In a synchronous call, the API executes the operation at the time the request is made and then returns the results of the operation.

Before you can use the asynchronous API, you must set up your development environment by completing these steps.

  1. Install a package with an API Integration component.
  2. Use your Client ID and Secret, obtain an OAuth access token. You use this token to authenticate your calls to the API.
HTTP MethodResourceDescription
POST/hub/v1/dataevents/key:{key}/rowset or /hub/v1/dataevents/{id}/rowsetUpsert multiple data events in the same call. An upsert operation updates rows when the specified key already exists and inserts new rows when the specified key doesn't exist.
PUT/hub/v1/dataevents/key:{key}/rows/{primaryKeys} or /hub/v1/dataevents/{id}/rows/{primaryKeys}Upsert a single data event.
PUT/hub/v1/dataevents/key:{key}/rows/{primaryKeys}/column/{column}/increment or /hub/v1/dataevents/{id}/rows/{primaryKeys}/column/{column}/incrementIncrement the value in a specified data event column.