# Threads

> Publish posts to Threads and read your profile and recent posts.

App · Social Media · 3 actions. Web page: https://docs.lodol.com/docs/integrations/threads

## Actions

### Create a post

Create a post on Threads from the connected account. Posts a text-only thread, or an image thread when an image URL is provided.

**Inputs**

- Text (`text`, text, required): The text of the post.
- Image URL (`image_url`, text): Optional public URL of an image to attach. When set, the post is published as an image thread; leave empty for a text-only post.
- Who can reply (`reply_control`, text): Controls who is allowed to reply to the post. One of: `everyone`, `accounts_you_follow` (Accounts you follow), `mentioned_only` (Mentioned only).

**Outputs**

- `creation_id` (text): The intermediate media container ID.
- `id` (text): The published thread's ID.

**Example output**

```json
{
  "creation_id": "18000000000000002",
  "id": "17650000000000001"
}
```

### Get profile

Fetch the connected Threads account's public profile, including username, display name, profile picture, and biography.

**Inputs**: None.

**Outputs**

- `id` (text): The Threads user's unique ID.
- `name` (text)
- `threads_biography` (text)
- `threads_profile_picture_url` (text)
- `username` (text)

**Example output**

```json
{
  "id": "9988776655443322",
  "name": "Lodol",
  "threads_biography": "Automate anything.",
  "threads_profile_picture_url": "https://scontent.cdninstagram.com/v/t51.2885-19/profile.jpg",
  "username": "lodol"
}
```

### List posts

List the connected account's recent Threads posts, including each post's ID, text, media type, permalink, and timestamp.

**Inputs**

- Maximum posts (`limit`, number): Maximum number of posts to return (1-100). From 1 to 100. Default: `10`.

**Outputs**: Response envelope; the payload is in the "posts" field.

- `posts` (list): List of posts.

**Example output**

```json
{
  "posts": [
    {
      "id": "17650000000000001",
      "media_type": "TEXT_POST",
      "permalink": "https://www.threads.net/@lodol/post/ABC123",
      "text": "Hello from Threads!",
      "timestamp": "2026-08-01T12:00:00+0000"
    }
  ]
}
```
