Repurpose Links API
The Repurpose Links API lets you manage automated content repurposing links. Repurpose links automatically take content published on one platform and republish it to another, with optional template formatting and custom settings.List Repurpose Links
Retrieve a list of repurpose links configured for your account.Headers
| Header | Required | Description |
|---|---|---|
soku-api-key | Yes | Your Soku API key |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
platform | string | No | Filter by source platform (for example, "instagram", "tiktok") |
accountId | string | No | Filter by account ID |
type | string | No | Filter by repurpose link type |
Response
Returns an array of repurpose link objects.Examples
List all repurpose links:Create a Repurpose Link
Create a new repurpose link to automate content repurposing between platforms.Headers
| Header | Required | Description |
|---|---|---|
Content-Type | Yes | Must be application/json |
soku-api-key | Yes | Your Soku API key |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
platform | string | Yes | The source platform to watch for new content (for example, "instagram", "tiktok", "youtube") |
accountId | string | Yes | The account ID for the source platform |
type | string | Yes | The type of content to repurpose (for example, "post", "video", "story") |
templateId | string | No | The ID of a template to apply when repurposing. Pass null or omit to repurpose without a template. |
settings | object | No | Additional configuration for the repurpose behavior |
Settings Object
| Field | Type | Description |
|---|---|---|
includeCaption | boolean | Whether to include the original caption in the repurposed content |
addHashtags | boolean | Whether to automatically add relevant hashtags |
Response
Returns the created repurpose link object.Examples
Create a repurpose link with a template:Delete a Repurpose Link
Remove a repurpose link and stop its automated repurposing.Headers
| Header | Required | Description |
|---|---|---|
soku-api-key | Yes | Your Soku API key |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The ID of the repurpose link to delete |
Response
Returns an empty response with HTTP status204 No Content on success.
Examples
Error Responses
| HTTP Status | Error Code | Description |
|---|---|---|
| 400 | validation_error | Missing or invalid fields in the request body |
| 400 | missing_account | The specified accountId does not exist for the given platform |
| 401 | unauthorized | Missing or invalid API key |
| 403 | forbidden | Subscription is not active |
| 404 | not_found | The repurpose link ID does not exist |
| 429 | rate_limit_exceeded | Too many requests. See Rate Limits. |
| 500 | internal_error | An internal error occurred |
Next Steps
| Topic | Description |
|---|---|
| Repurpose Links | Configure repurpose links in the dashboard |
| Content Repurposing | Learn about content repurposing workflows |
| Posts API | Manually create posts via the API |