Skip to main content
Version: v3

Create a watermark template

POST 

/social-media-posting/:locationId/watermarks

Create a new reusable watermark template for a location. The template stores the watermark image URL, position, scale, opacity, padding, and the connected accounts it applies to.

At post-publish time, the template is resolved for a given connected account via the accountIds binding — the accountId you provide here maps a connected social account to this template. To fetch account IDs, use the Get Accounts endpoint.

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location Id

application/json

Bodyrequired

    watermarkImageUrlstringrequired

    URL of the watermark image. Must be a PNG or JPG file, minimum 200x200 pixels, and no larger than 5 MB.

    positionstringrequired

    Watermark position on the target image

    Available optionstop-lefttop-centertop-rightleft-centercenterright-centerbottom-leftbottom-centerbottom-right
    scalenumberrequired

    Scale factor between 0 and 1

    opacitynumberrequired

    Opacity between 0 and 1

    paddingbooleanrequired

    Whether padding is applied around the watermark

    templateNamestringrequired

    Name of the watermark template

    accountIdsstring[]required

    Connected account IDs to bind this template to. These IDs map user accounts to this template at post-publish time. Use the Get Accounts endpoint to look up account IDs.

application/json

Watermark template successfully created.

Schema
    successbooleanrequired

    Success or Failure

    statusCodenumberrequired

    Status Code

    messagestringrequired

    Message

    resultsobject

    Watermark template