Skip to main content
POST
/
brands
/
{brand_id}
/
campaigns
/
{campaign_id}
/
ugc
Add UGC to campaign
curl --request POST \
  --url https://library-backend.dashsocial.com/brands/{brand_id}/campaigns/{campaign_id}/ugc \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "gallery_ids": [
    123
  ],
  "media_ids": [
    123
  ]
}
'
{
  "code": 123,
  "errors": {},
  "message": "<string>",
  "status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://developer.dashsocial.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

brand_id
integer<int32>
required

The Dash Social assigned ID of the brand.

campaign_id
integer
required

The ID of the campaign object.

Required range: x >= 0

Query Parameters

media_ids
integer[]

A list of comma-separated IDs indicating the media items to perform the action with.Selected media must belong to the specified campaign.

A list of comma-separated IDs indicating the gallery items to perform the action with.

Body

application/json

A list of IDs indicating the gallery items to perform the action with.

media_ids
integer[]

A list of IDs indicating the media items to perform the action with.Selected media must belong to the specified campaign.

Response

No Content