younifyd
Menu

Post Api Media Usage Sync

Sync asset usage

POST/api/media/usage/sync

Use it in a workflow

  1. Add a step and choose the Bynder connector.
  2. Pick the Post Api Media Usage Sync action (under Asset Usage).
  3. Fill in the fields below, then reference the result from later steps as {{postApiMediaUsageSync.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

integration_idstring

Integration id.

urisarray<string>

An array of URIs that are part of your integration.

usagesarray<object>
asset_idstring
uristring
additionalstring
json
{
  "integration_id": "string",
  "uris": [
    "string"
  ],
  "usages": [
    {
      "asset_id": "string",
      "uri": "string",
      "additional": "string"
    }
  ]
}

Response

Returns 200 with an object. Read it in later steps with {{postApiMediaUsageSync.response.data.<field>}}.

acceptedarray<object>
additionalstring
asset_idstring
uristring
newarray<object>
additionalstring
asset_idstring
idstring
integrationobject2 fields
timestampstring (date-time)
uristring
rejectedarray<object>
asset_idstring
reasonstring
uristring
removedarray<object>
asset_idstring
uristring
json
{
  "accepted": [
    {
      "additional": "string",
      "asset_id": "string",
      "uri": "string"
    }
  ],
  "new": [
    {
      "additional": "string",
      "asset_id": "string",
      "id": "string",
      "integration": {
        "description": "string",
        "id": "string"
      },
      "timestamp": "2025-01-01T00:00:00Z",
      "uri": "string"
    }
  ],
  "rejected": [
    {
      "asset_id": "string",
      "reason": "string",
      "uri": "string"
    }
  ],
  "removed": [
    {
      "asset_id": "string",
      "uri": "string"
    }
  ]
}

Need more? See the Bynder guide for connection setup and behaviour shared by every action.