# Metricool

> Read social analytics and calendars, and manage scheduled posts and post notes.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/metricool

## Actions

### Creates a new scheduled post

Create a new scheduled post.

**Inputs**

- Job ID (`job_id`, text): Optional job identifier
- Id (`id`, number): id.
- Publication time (`publication_time`, date and time, required): When to publish. Converted to UTC.
- Publication timezone (`publication_timezone`, text): Use UTC with the publication time picker. One of: `UTC`.
- Text (`text`, text, required): text.
- First comment text (`first_comment_text`, text): firstCommentText.
- Providers (`providers`, list, required): providers.
- Media (`media`, list): media.
- Auto publish (`auto_publish`, true/false): autoPublish.
- Save external media files (`save_external_media_files`, true/false): saveExternalMediaFiles.
- Media alt text (`media_alt_text`, list): mediaAltText.
- Shortener (`shortener`, true/false): shortener.
- Draft (`draft`, true/false): draft.
- Location (`location`, object): Additional structured location. Use the documented fields.
- Video cover milliseconds (`video_cover_milliseconds`, number): videoCoverMilliseconds.
- Video thumbnail url (`video_thumbnail_url`, text): videoThumbnailUrl.
- Parent ID (`parent_id`, number): parentId.
- Twitter data (`twitter_data`, object): Additional structured twitter data. Use the documented fields.
- Facebook data (`facebook_data`, object): Additional structured facebook data. Use the documented fields.
- Smart link data (`smart_link_data`, object): Additional structured smart link data. Use the documented fields.
- Instagram data (`instagram_data`, object): Additional structured instagram data. Use the documented fields.
- Pinterest data (`pinterest_data`, object): Additional structured pinterest data. Use the documented fields.
- Youtube data (`youtube_data`, object): Additional structured youtube data. Use the documented fields.
- Tiktok data (`tiktok_data`, object): Additional structured tiktok data. Use the documented fields.
- Linkedin data (`linkedin_data`, object): Additional structured linkedin data. Use the documented fields.
- Autolist data (`autolist_data`, object): Additional structured autolist data. Use the documented fields.
- Brand name (`brand_name`, text): brandName.
- Target brand ID (`target_brand_id`, number): targetBrandId.
- Gmb data (`gmb_data`, object): Additional structured gmb data. Use the documented fields.
- Descendants (`descendants`, list): descendants.
- Notes (`notes`, list): notes.
- Has not read notes (`has_not_read_notes`, true/false): hasNotReadNotes.
- Uuid (`uuid`, text): uuid.
- Copied from (`copied_from`, text): copiedFrom.
- Creator user mail (`creator_user_mail`, text): creatorUserMail.
- Creator user ID (`creator_user_id`, number): creatorUserId.
- Creator agency user mail (`creator_agency_user_mail`, text): creatorAgencyUserMail.
- Creator agency ID (`creator_agency_id`, number): creatorAgencyId.
- Creator agency user ID (`creator_agency_user_id`, number): creatorAgencyUserId.
- Post approval data (`post_approval_data`, object): Additional structured post approval data. Use the documented fields.
- Threads data (`threads_data`, object): Additional structured threads data. Use the documented fields.
- Bluesky data (`bluesky_data`, object): Additional structured bluesky data. Use the documented fields.
- Library post ID (`library_post_id`, number): libraryPostId.
- Performance dashboard IDs (`performance_dashboard_ids`, list): performanceDashboardIds.
- Brand tag IDs (`brand_tag_ids`, list): Ids of the brand tags to apply: absent keeps the current ones, empty removes them all, a list replaces them. Ids that are not live tags of the brand are ignored; at most 20.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": {
      "autoPublish": true,
      "autolistData": {
        "id": 1,
        "name": "example"
      },
      "blueskyData": {
        "postLanguages": []
      },
      "brandName": "example",
      "brandTagIds": [],
      "brandTags": [],
      "copiedFrom": "example",
      "creationDate": {
        "dateTime": "example",
        "timezone": "example"
      },
      "creatorAgencyId": 1,
      "creatorAgencyUserId": 1,
      "creatorAgencyUserMail": "example",
      "creatorUserId": 1,
      "creatorUserMail": "example",
      "descendants": [],
      "draft": true,
      "facebookData": {
        "boost": 1,
        "boostBeneficiary": "example",
        "boostPayer": "example",
        "title": "example",
        "type": "example"
      },
      "firstCommentText": "example",
      "gmbData": {
        "type": "example"
      },
      "hasNotReadNotes": true,
      "id": 1,
      "instagramData": {
        "audioConfiguration": {
          "audioId": "example",
          "audioType": "music",
          "audioVolume": 1,
          "coverArtworkUrl": "example",
          "displayArtist": "example",
          "durationMs": 1,
          "igUsername": "example",
          "title": "example",
          "videoVolume": 1
        },
        "audioName": "example",
        "autoPublish": true,
        "boost": 1,
        "boostBeneficiary": "example",
        "boostPayer": "example",
        "carouselProductTags": {},
        "carouselTags": {},
        "collaborators": [],
        "isAiGenerated": true,
        "productTags": [],
        "shareTrialAutomatically": true,
        "showReelOnFeed": true,
        "tags": [],
        "type": "example"
      },
      "libraryPostId": 1,
      "linkedinData": {
        "documentTitle": "example",
        "poll": {
          "options": [],
          "question": "example",
          "settings": {
            "duration": "example"
          }
        },
        "previewIncluded": true,
        "publishImagesAsPDF": true,
        "type": "example"
      },
      "location": {
        "deleted": true,
        "id": "example",
        "link": "example",
        "location": {
          "city": "example",
          "country": "example",
          "latitude": 1,
          "longitude": 1,
          "state": "example",
          "street": "example",
          "zip": "example"
        },
        "name": "example"
      },
      "media": [],
      "mediaAltText": [],
      "notes": [],
      "parentId": 1,
      "performanceDashboardIds": [],
      "pinterestData": {
        "boardId": "example",
        "isAiGenerated": true,
        "isAiGeneratedPerson": true,
        "pinLink": "example",
        "pinNewFormat": true,
        "pinTitle": "example"
      },
      "postApprovalData": {
        "anonymousReviewerLanguage": "example",
        "approvalCriteria": "example",
        "approvalEvents": [],
        "approvalStatus": "example",
        "saveData": true,
        "sendMailToReviewers": true
      },
      "providers": [],
      "publicationDate": {
        "dateTime": "example",
        "timezone": "example"
      },
      "saveExternalMediaFiles": true,
      "shortener": true,
      "smartLinkData": {
        "ids": [],
        "targetUrl": "example"
      },
      "targetBrandId": 1,
      "text": "example",
      "threadsData": {
        "allowedCountryCodes": [],
        "instagramStoryTheme": "example",
        "isSpoiler": true,
        "replyControl": "example",
        "shareAsInstagramStory": true,
        "type": "example"
      },
      "tiktokData": {
        "articleLink": {
          "title": "example",
          "url": "example"
        },
        "autoAddMusic": true,
        "commercialContentOwnBrand": true,
        "commercialContentThirdParty": true,
        "disableComment": true,
        "disableDuet": true,
        "disableStitch": true,
        "isAigc": true,
        "music": {
          "author": "example",
          "endMillis": 1,
          "musicId": "example",
          "originalVolume": 1,
          "previewUrl": "example",
          "soundVolume": 1,
          "startMillis": 1,
          "thumbnailUrl": "example",
          "title": "example"
        },
        "photoCoverIndex": 1,
        "privacyOption": "example",
        "title": "example"
      },
      "twitterData": {
        "isPollChild": true,
        "poll": {
          "options": [],
          "settings": {
            "durationMinutes": 1
          }
        },
        "replySettings": "example",
        "tags": [],
        "type": "example"
      },
      "uuid": "example",
      "videoCoverMilliseconds": 1,
      "videoThumbnailUrl": "example",
      "youtubeData": {
        "category": "example",
        "isAiGeneratedContent": true,
        "madeForKids": true,
        "notifySubscribers": true,
        "playlistId": "example",
        "privacy": "example",
        "tags": [],
        "title": "example",
        "type": "example"
      }
    },
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Delete /v2/scheduler/posts/{postId}/notes/{noteId}

Delete /v2/scheduler/posts/{postId}/notes/{noteId}.

**Inputs**

- Post ID (`post_id`, number, required): postId.
- Note ID (`note_id`, number, required): noteId.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": true,
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Delete scheduler/posts/{id}

Delete scheduler/posts/{id}.

**Inputs**

- Id (`id`, number, required): id of the scheduled post

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": true,
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Find bluesky accounts

Find bluesky accounts. Returns the full service response for the connected account.

**Inputs**

- Handle (`handle`, text, required): handle.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Find youtube accounts

Find youtube accounts. Returns the full service response for the connected account.

**Inputs**

- Handle (`handle`, text, required): handle.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get /v2/analytics/posts/pinterest

Get /v2/analytics/posts/pinterest. Returns the full service response for the connected account.

**Inputs**

- From (`from_value`, date and time, required): from.
- To (`to`, date and time, required): to.
- Timezone (`timezone`, text): timezone.
- Tags (`tags`, list): (Optional) Brand tag ids; keeps only the content having any of them.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get /v2/scheduler/posts/{postId}/notes

Get /v2/scheduler/posts/{postId}/notes. Returns the full service response for the connected account.

**Inputs**

- Post ID (`post_id`, number, required): postId.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get a scheduled post by id

Get a scheduled post by id. Returns the full service response for the connected account.

**Inputs**

- Id (`id`, number, required): id of the scheduled post.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": {
      "autoPublish": true,
      "autolistData": {
        "id": 1,
        "name": "example"
      },
      "blueskyData": {
        "postLanguages": []
      },
      "brandName": "example",
      "brandTagIds": [],
      "brandTags": [],
      "copiedFrom": "example",
      "creationDate": {
        "dateTime": "example",
        "timezone": "example"
      },
      "creatorAgencyId": 1,
      "creatorAgencyUserId": 1,
      "creatorAgencyUserMail": "example",
      "creatorUserId": 1,
      "creatorUserMail": "example",
      "descendants": [],
      "draft": true,
      "facebookData": {
        "boost": 1,
        "boostBeneficiary": "example",
        "boostPayer": "example",
        "title": "example",
        "type": "example"
      },
      "firstCommentText": "example",
      "gmbData": {
        "type": "example"
      },
      "hasNotReadNotes": true,
      "id": 1,
      "instagramData": {
        "audioConfiguration": {
          "audioId": "example",
          "audioType": "music",
          "audioVolume": 1,
          "coverArtworkUrl": "example",
          "displayArtist": "example",
          "durationMs": 1,
          "igUsername": "example",
          "title": "example",
          "videoVolume": 1
        },
        "audioName": "example",
        "autoPublish": true,
        "boost": 1,
        "boostBeneficiary": "example",
        "boostPayer": "example",
        "carouselProductTags": {},
        "carouselTags": {},
        "collaborators": [],
        "isAiGenerated": true,
        "productTags": [],
        "shareTrialAutomatically": true,
        "showReelOnFeed": true,
        "tags": [],
        "type": "example"
      },
      "libraryPostId": 1,
      "linkedinData": {
        "documentTitle": "example",
        "poll": {
          "options": [],
          "question": "example",
          "settings": {
            "duration": "example"
          }
        },
        "previewIncluded": true,
        "publishImagesAsPDF": true,
        "type": "example"
      },
      "location": {
        "deleted": true,
        "id": "example",
        "link": "example",
        "location": {
          "city": "example",
          "country": "example",
          "latitude": 1,
          "longitude": 1,
          "state": "example",
          "street": "example",
          "zip": "example"
        },
        "name": "example"
      },
      "media": [],
      "mediaAltText": [],
      "notes": [],
      "parentId": 1,
      "performanceDashboardIds": [],
      "pinterestData": {
        "boardId": "example",
        "isAiGenerated": true,
        "isAiGeneratedPerson": true,
        "pinLink": "example",
        "pinNewFormat": true,
        "pinTitle": "example"
      },
      "postApprovalData": {
        "anonymousReviewerLanguage": "example",
        "approvalCriteria": "example",
        "approvalEvents": [],
        "approvalStatus": "example",
        "saveData": true,
        "sendMailToReviewers": true
      },
      "providers": [],
      "publicationDate": {
        "dateTime": "example",
        "timezone": "example"
      },
      "saveExternalMediaFiles": true,
      "shortener": true,
      "smartLinkData": {
        "ids": [],
        "targetUrl": "example"
      },
      "targetBrandId": 1,
      "text": "example",
      "threadsData": {
        "allowedCountryCodes": [],
        "instagramStoryTheme": "example",
        "isSpoiler": true,
        "replyControl": "example",
        "shareAsInstagramStory": true,
        "type": "example"
      },
      "tiktokData": {
        "articleLink": {
          "title": "example",
          "url": "example"
        },
        "autoAddMusic": true,
        "commercialContentOwnBrand": true,
        "commercialContentThirdParty": true,
        "disableComment": true,
        "disableDuet": true,
        "disableStitch": true,
        "isAigc": true,
        "music": {
          "author": "example",
          "endMillis": 1,
          "musicId": "example",
          "originalVolume": 1,
          "previewUrl": "example",
          "soundVolume": 1,
          "startMillis": 1,
          "thumbnailUrl": "example",
          "title": "example"
        },
        "photoCoverIndex": 1,
        "privacyOption": "example",
        "title": "example"
      },
      "twitterData": {
        "isPollChild": true,
        "poll": {
          "options": [],
          "settings": {
            "durationMinutes": 1
          }
        },
        "replySettings": "example",
        "tags": [],
        "type": "example"
      },
      "uuid": "example",
      "videoCoverMilliseconds": 1,
      "videoThumbnailUrl": "example",
      "youtubeData": {
        "category": "example",
        "isAiGeneratedContent": true,
        "madeForKids": true,
        "notifySubscribers": true,
        "playlistId": "example",
        "privacy": "example",
        "tags": [],
        "title": "example",
        "type": "example"
      }
    },
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get all system calendar data stored in database, only public

Get all system calendar data stored in database, only public. Returns the full service response for the connected account.

**Inputs**

- Language (`language`, text): calendar language

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get analytics

Get analytics. Returns the full service response for the connected account.

**Inputs**

- Network (`network`, text, required): network.
- Metric (`metric`, text, required): metric.
- From (`from_value`, date and time, required): from.
- To (`to`, date and time, required): to.
- Timezone (`timezone`, text): timezone.
- Subject (`subject`, text): subject.
- Scope (`scope`, text): scope.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": 1,
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get analytics/posts/instagram

Get analytics/posts/instagram. Returns the full service response for the connected account.

**Inputs**

- From (`from_value`, date and time, required): From Date and time ISO 8601 format. e.g. 2021-01-01T10:00:00
- To (`to`, date and time, required): To Date and time ISO 8601 format. e.g. 2021-01-01T10:00:00
- Timezone (`timezone`, text): (Optional) The timezone used for the date range to search. ('Europe/Madrid')
- Tags (`tags`, list): (Optional) Brand tag ids; keeps only the content having any of them.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get calendar report

Get calendar report. Returns the full service response for the connected account.

**Inputs**

- Start (`start`, date and time): The start date from you want to return the posts. ('2011-12-03T10:15:30')
- End (`end`, date and time): The date until you want to return the posts. ('2011-12-04T10:15:30')
- Timezone (`timezone`, text): The timezone in which you want to return the posts. ('Europe/Madrid')

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Get calendar with it events in time period

Get calendar with it events in time period. Returns the full service response for the connected account.

**Inputs**

- Init date (`init_date`, date and time, required): init calendar period ('2025-02-01T00:00:00')
- End date (`end_date`, date and time, required): end calendar period ('2025-03-01T00:00:00')
- Time zone (`time_zone`, text, required): time zone
- Calendar ID (`calendar_id`, number, required): Calendar identification

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": {
      "calendar-id": 1,
      "calendar-name": "example",
      "end-date": {
        "dateTime": "example",
        "timezone": "example"
      },
      "events-all-day": [],
      "events-by-hour": [],
      "start-date": {
        "dateTime": "example",
        "timezone": "example"
      }
    },
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get campaign analytics

Get campaign analytics. Returns the full service response for the connected account.

**Inputs**

- Network (`network`, text, required): network.
- Metric (`metric`, text, required): metric.
- From (`from_value`, date and time, required): from.
- To (`to`, date and time, required): to.
- Timezone (`timezone`, text): timezone.
- Campaign ID (`campaign_id`, text, required): campaignId.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": 1,
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get campaign timeline

Get campaign timeline. Returns the full service response for the connected account.

**Inputs**

- Network (`network`, text, required): network.
- Metric (`metric`, text, required): metric.
- From (`from_value`, date and time, required): from.
- To (`to`, date and time, required): to.
- Timezone (`timezone`, text): timezone.
- Campaign ID (`campaign_id`, text, required): campaignId.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List bluesky events

List bluesky events. Returns the full service response for the connected account.

**Inputs**

- Type (`type`, text, required): type.
- From (`from_value`, date and time, required): from.
- To (`to`, date and time, required): to.
- Timezone (`timezone`, text): timezone.
- Page (`page`, number): page.
- Pagesize (`pagesize`, number): pagesize.

**Outputs**

- `data` (list): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": [],
  "has_more": false,
  "next_cursor": null
}
```

### List brand posts

List brand posts. Returns the full service response for the connected account.

**Inputs**

- From (`from_value`, date and time, required): from.
- To (`to`, date and time, required): to.
- Timezone (`timezone`, text): timezone.
- Tags (`tags`, list): (Optional) Brand tag ids; keeps only the content having any of them.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List campaign dashboards

List campaign dashboards. Returns the full service response for the connected account.

**Inputs**

- Network (`network`, text, required): Ads network of the campaign (e.g. adwords, facebook_ads, tiktok_ads)
- Campaign IDs (`campaign_ids`, list, required): Provider campaign IDs

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List google ads campaigns

List google ads campaigns. Returns the full service response for the connected account.

**Inputs**

- From (`from_value`, date and time, required): From Date and time ISO 8601 format. e.g. 2021-01-01T10:00:00
- To (`to`, date and time, required): To Date and time ISO 8601 format. e.g. 2021-01-01T10:00:00
- Timezone (`timezone`, text): (Optional) The timezone used for the date range to search. ('Europe/Madrid')
- Tags (`tags`, list): (Optional) Brand tag ids; keeps only the content having any of them.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List tiktok ads campaigns

List tiktok ads campaigns. Returns the full service response for the connected account.

**Inputs**

- From (`from_value`, date and time, required): from.
- To (`to`, date and time, required): to.
- Timezone (`timezone`, text): timezone.
- Metrics (`metrics`, list, required): metrics[].
- Tags (`tags`, list): (Optional) Brand tag ids; keeps only the content having any of them.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Post /v2/scheduler/posts/{postId}/notes

Post /v2/scheduler/posts/{postId}/notes.

**Inputs**

- Post ID (`post_id`, number, required): postId.
- Source post ID (`source_post_id`, number): sourcePostId.
- Content (`content`, text, required): content.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Reschedule post

Reschedule post. Empty fields keep their current values.

**Inputs**

- Id (`id`, number, required): id of the post to update
- Fields (`fields`, list, required): list of fields to update. One or more of: `publicationDate`.
- Publication time (`publication_time`, date and time, required): When to publish. Converted to UTC.
- Publication timezone (`publication_timezone`, text): Use UTC with the publication time picker. One of: `UTC`.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": true,
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Returns best time values to publish

Get best time values to publish. Returns the full service response for the connected account.

**Inputs**

- Provider (`provider`, text, required): supported values: facebook, instagram, tiktok, linkedin, youtube
- Start (`start`, date and time): The start date from you want to return the besttimes. ('2011-12-03T10:15:30')
- End (`end`, date and time): The date until you want to return the besttimes. ('2011-12-04T10:15:30')
- Timezone (`timezone`, text): The timezone in which you want to return the besttimes. ('Europe/Madrid')

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Returns the list of brands of your account

Get the list of brands of your Metricool account. Returns the full service response for the connected account.

**Inputs**: None.

**Outputs**

- `data` (list): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": [],
  "has_more": false,
  "next_cursor": null
}
```

### Returns the list of TikTok posts created during a period of time

Get the list of TikTok posts created during a period of time. Returns the full service response for the connected account.

**Inputs**

- From (`from_value`, date and time, required): From Date and time ISO 8601 format. e.g. 2021-01-01T10:00:00
- To (`to`, date and time, required): To Date and time ISO 8601 format. e.g. 2021-01-01T10:00:00
- Timezone (`timezone`, text): (Optional) The timezone used for the date range to search. ('Europe/Madrid')
- Tags (`tags`, list): (Optional) Brand tag ids; keeps only the content having any of them.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Has more.
- `next_cursor` (text): Next cursor.

**Example output**

```json
{
  "data": {
    "data": [],
    "metadata": {},
    "page": {
      "next": ""
    }
  },
  "has_more": false,
  "next_cursor": null
}
```
