# Slackbot-LinkExpanding: Slack previews

> For the complete documentation index, see [llms.txt](https://attensira.com/llms.txt).
> Every page on this site is also served as Markdown: append `.md` to any URL, or send `Accept: text/markdown`.

> Slackbot-LinkExpanding fetches a page's meta tags when someone posts its link in Slack. Why it ignores robots.txt, and how to fix an empty preview.

- Canonical page: https://attensira.com/bots/slackbot-linkexpanding
- Family: bots
- Last updated: 2026-10-05
- Author: Karl-Gustav Kallasmaa (https://attensira.com/about)
- Claims as data: https://attensira.com/claims.json?slug=slackbot-linkexpanding

**In short:** Slackbot-LinkExpanding is the Slack agent that fetches a page when someone posts its link in Slack, reading oEmbed, Open Graph and Twitter Card tags to build the preview. Slack says it does not honour robots.txt and fetches the same URL at most every 30 minutes. Allow it: blocking only breaks your previews. It cannot be verified.

AI traffic on attensira.com, 30 days to 2026-10-04 (Attensira AI traffic board, n=143,601 requests): Slackbot-LinkExpanding is not counted: the board files it as conventional traffic, off its AI view. User agents as sent, not checked against address lists.

The other link preview bots, with attensira.com's rule for each:

- facebookexternalhit: Allowed by name

## How do I allow or block Slackbot-LinkExpanding in robots.txt?

Paste this into the robots.txt at the root of your domain. The operator says the agent may not read robots.txt, so the group records your preference; enforce anything sensitive on the server.

```
# Allow both Slack agents so link previews build.
# Slack states it does not honour robots.txt: a Disallow records a preference and does not stop the fetch.
User-agent: Slackbot-LinkExpanding
Allow: /

User-agent: Slack-ImgProxy
Allow: /
```

We do not name Slackbot-LinkExpanding. It falls through to the wildcard group, which allows everything except /api/. Its operator states robots.txt may not apply to it, so this group is a preference at most.

```
# No group names Slackbot-LinkExpanding, so it reads the wildcard group.
User-agent: *
Allow: /
Disallow: /api/
```

## Who runs Slackbot-LinkExpanding, and what is it for?

- robots.txt token: `Slackbot-LinkExpanding`
- Operator: Slack (https://slack.com)
- What the fetch is for: User-triggered fetch. Fetches a page because someone posted its link in Slack, to build the preview card people see. It feeds no search or AI answer engine.
- robots.txt: Operator states robots.txt may not apply
- Operator documentation: https://api.slack.com/robots (read 2026-09-03)

## Why is my Slack link preview empty?

Slack fetches as little of the page as it can, using HTTP Range headers, and looks for oEmbed, Open Graph and Twitter Card tags.[^slack-purpose] If those tags sit behind a large inlined stylesheet, or your server ignores `Range` and streams a slow full response, the unfurler may stop before it reaches them. The fix is the one that fixes Facebook cards for [facebookexternalhit](/bots/facebookexternalhit): put the Open Graph block near the top of the `<head>`.

The 30-minute cache is your debugging clock.[^slack-cache] A fix will not show in a message that already unfurled, so test with a URL Slack has not fetched recently.

## Which Slack agent matters for my preview?

`Slackbot-LinkExpanding` reads the tags. `Slack-ImgProxy` fetches, caches and proxies images.[^slack-imgproxy] If a preview shows a title but no image, check that the image URL your tags name is reachable from outside your network. `Slackbot` is the general robot for API calls and webhooks and has nothing to do with previews.[^slack-default-bot]

In log filters, match `Slackbot` as a whole word. As a bare substring it also matches `Slackbot-LinkExpanding`, and the unfurler gets counted twice.

## How do I verify that a visit really came from Slack?

You cannot. Slack's robots page offers the three user-agent strings and nothing else: no IP ranges and no reverse DNS suffix.[^slack-no-verification] The header is free text, and unfurler tokens are commonly trusted at CDNs, so do not write a rule that lets `Slackbot` skip a bot challenge. The general methods are in [verifying a crawler](/guides/ai-crawler-guide/verifying-a-crawler).

Slack's robots page publishes no IP ranges and no reverse DNS suffix for any of its three agents. The user-agent string is the only identifier offered, and a user-agent string is free text.

## What user-agent string does Slackbot-LinkExpanding send?

Match the token, never the version. A rule pinned to a version stops matching silently the next time the operator ships.

```
Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)
```

Carries a version the operator increments; check the operator's page before relying on the exact string.

```
Slack-ImgProxy 0.19 (+https://api.slack.com/robots)
```

Carries a version the operator increments; check the operator's page before relying on the exact string.

```
Slackbot 1.0 (+https://api.slack.com/robots)
```

Carries a version the operator increments; check the operator's page before relying on the exact string.

## What does allowing Slackbot-LinkExpanding cost?

Allowing it costs at most one fetch per URL every 30 minutes and gives your links a preview card in Slack. Blocking it only breaks those previews, and Slack says it does not honour robots.txt, so a robots.txt rule would not stop it anyway.

## Should I allow Slackbot-LinkExpanding in my situation?

- **A link to your page in Slack unfurls with no title or image.** Check your oEmbed, Open Graph and Twitter Card tags, and whether the Range request returns them. Slack states that it fetches as little of the page as it can using HTTP Range headers, looking for oEmbed and Twitter Card or Open Graph tags. If your meta tags sit behind a large head section, or your server ignores Range and streams slowly, the unfurler may never reach them.

- **You disallowed Slack in robots.txt and it kept fetching.** Stop treating it as non-compliance and use Slack's documented route. Slack states that it does not currently honor robots.txt files, having implemented it and then withdrawn support. It directs site owners who want to be excluded to contact them to be added to a blocklist. The robots.txt rule was never going to have an effect.

- **A single popular link is generating repeated fetches and you suspect a loop.** Compare the interval against Slack's documented 30-minute cache before investigating further. Slack states that responses are cached globally across the service for around 30 minutes and that you should not see more than one request for the same URL more often than that. Requests arriving faster than that are either not Slack, or a different URL than you think.

[^slack-purpose]: Slack documents Slackbot-LinkExpanding as the robot that responds to links Slack users post into their channels, fetching as little of the page as it can using HTTP Range headers to extract oEmbed and Twitter Card or Open Graph meta tags. Source: https://api.slack.com/robots (retrieved 2026-09-03).
[^slack-cache]: Slack states that unfurl responses are cached globally across the service for around 30 minutes and that a site should not see more than one request for the same URL more frequently than that. Source: https://api.slack.com/robots (retrieved 2026-09-03).
[^slack-imgproxy]: Slack documents "Slack-ImgProxy 0.19 (+https://api.slack.com/robots)" as the robot used to fetch, cache and proxy images. Source: https://api.slack.com/robots (retrieved 2026-09-03).
[^slack-default-bot]: Slack documents "Slackbot 1.0 (+https://api.slack.com/robots)" as its default, general-purpose robot used for any HTTP request not covered by the other two, including API requests to integrated services and outgoing webhooks. Source: https://api.slack.com/robots (retrieved 2026-09-03).
[^slack-no-verification]: Slack's robots documentation publishes no IP ranges and no reverse DNS suffix for its agents, offering only the user-agent strings as identification. Source: https://api.slack.com/robots (retrieved 2026-09-03).

## FAQ

### Does Slack follow the links on my page?

No. Slack says it is not a crawler because it does not follow links. It fetches the one URL someone posted, reads the preview tags, and stops there.

### What does the plain Slackbot agent fetch?

Slack documents "Slackbot 1.0 (+https://api.slack.com/robots)" as its default, general-purpose robot for any HTTP request the other two do not cover, including API requests to integrated services and outgoing webhooks. It is not the agent that builds link previews.

### Does Slack obey robots.txt?

No, and it says so directly — "We do not currently honor robots.txt files." Slack explains that it implemented and experimented with doing so and received too many complaints from users, because a large portion of the internet is inaccessible to crawlers, and that it is not a crawler because it does not follow links.

### Then how do I stop Slack fetching my pages?

Slack's documented answer is to contact them and be added to a blocklist. There is no self-service robots.txt route, which makes this one of the few agents in the directory where the operator's stated process is an email rather than a file on your own server.

### How often will it re-fetch the same URL?

Slack states that responses are cached globally across the service for around 30 minutes, and that you should not see more than one request for the same URL from it more frequently than that.

## Sources

Each entry below is one claim on this page. `retrieved` is the date the exporter or a human last saw the source say this, and nothing more: it is not a publication date and not a promise of re-verification. `cite` is the anchor on the canonical page where this claim is rendered.

### slack-purpose

Slack documents Slackbot-LinkExpanding as the robot that responds to links Slack users post into their channels, fetching as little of the page as it can using HTTP Range headers to extract oEmbed and Twitter Card or Open Graph meta tags.

- source: https://api.slack.com/robots (api.slack.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/slackbot-linkexpanding#claim-slack-purpose

> This robot responds to links that Slack users post into their channels.
### slack-user-agent

Slack documents the unfurler's user agent as "Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)".

- source: https://api.slack.com/robots (api.slack.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/slackbot-linkexpanding#claim-slack-user-agent
### slack-imgproxy

Slack documents "Slack-ImgProxy 0.19 (+https://api.slack.com/robots)" as the robot used to fetch, cache and proxy images.

- source: https://api.slack.com/robots (api.slack.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/slackbot-linkexpanding#claim-slack-imgproxy
### slack-default-bot

Slack documents "Slackbot 1.0 (+https://api.slack.com/robots)" as its default, general-purpose robot used for any HTTP request not covered by the other two, including API requests to integrated services and outgoing webhooks.

- source: https://api.slack.com/robots (api.slack.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/slackbot-linkexpanding#claim-slack-default-bot
### slack-robots

Slack states that it does not currently honor robots.txt files, explaining that it implemented and experimented with doing so, received too many complaints because a great portion of the internet is inaccessible to crawlers, and that it is not a crawler because it does not follow links; it directs site owners to contact it to be added to a blocklist.

- source: https://api.slack.com/robots (api.slack.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/slackbot-linkexpanding#claim-slack-robots

> We do not currently honor robots.txt files.
### slack-cache

Slack states that unfurl responses are cached globally across the service for around 30 minutes and that a site should not see more than one request for the same URL more frequently than that.

- source: https://api.slack.com/robots (api.slack.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/slackbot-linkexpanding#claim-slack-cache

> Responses to these requests are cached globally across the service for around 30 minutes.
### slack-no-verification

Slack's robots documentation publishes no IP ranges and no reverse DNS suffix for its agents, offering only the user-agent strings as identification.

- source: https://api.slack.com/robots (api.slack.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/slackbot-linkexpanding#claim-slack-no-verification
