curl --request POST \
--url 'https://api.adside.ai/linkedin/mcp#create_creative' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "<string>",
"method": "<string>",
"params": {
"name": "<string>",
"arguments": {
"campaign_id": "<string>",
"account_id": "<string>",
"intended_status": "DRAFT",
"content_reference": "<string>",
"inline_content": {
"author": "<string>",
"commentary": "<string>",
"media_id": "<string>",
"media_title": "<string>",
"landing_page": "<string>",
"call_to_action_label": "APPLY"
},
"name": "<string>",
"leadgen_form_id": "<string>",
"leadgen_cta_label": "APPLY"
}
},
"id": "1"
}
'{
"jsonrpc": "<string>",
"id": "<string>",
"result": {
"content": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}Create a new creative in a campaign. Use content_reference to sponsor an existing post, or inline_content to create a new post and creative in one call.
curl --request POST \
--url 'https://api.adside.ai/linkedin/mcp#create_creative' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "<string>",
"method": "<string>",
"params": {
"name": "<string>",
"arguments": {
"campaign_id": "<string>",
"account_id": "<string>",
"intended_status": "DRAFT",
"content_reference": "<string>",
"inline_content": {
"author": "<string>",
"commentary": "<string>",
"media_id": "<string>",
"media_title": "<string>",
"landing_page": "<string>",
"call_to_action_label": "APPLY"
},
"name": "<string>",
"leadgen_form_id": "<string>",
"leadgen_cta_label": "APPLY"
}
},
"id": "1"
}
'{
"jsonrpc": "<string>",
"id": "<string>",
"result": {
"content": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}API key (sk_live_*) — SHA256 hashed, looked up in Redis. Generate via the web app's workspace settings.