> For the complete documentation index, see [llms.txt](https://talque.gitbook.io/public/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://talque.gitbook.io/public/deep-links/post-links/talque-post-deep-link.md).

# Talque Post Deep Link

## Open a post via deep link (redirect)

> Generates a deep link that opens a specific post in an organization.\
> \
> \`GET\` redirects the browser to the frontend deep-link handler URL.\
> \
> \`POST\` returns the parsed hyperlink as JSON so the frontend can\
> programmatically inspect the destination without following a redirect.<br>

```json
{"openapi":"3.0.3","info":{"title":"Talque Post Deep Link","version":"1.0.0"},"paths":{"/go/org/{org_id}/post/{post_id}/{action}":{"get":{"summary":"Open a post via deep link (redirect)","description":"Generates a deep link that opens a specific post in an organization.\n\n`GET` redirects the browser to the frontend deep-link handler URL.\n\n`POST` returns the parsed hyperlink as JSON so the frontend can\nprogrammatically inspect the destination without following a redirect.\n","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string"},"description":"Organization ID."},{"name":"post_id","in":"path","required":true,"schema":{"type":"string"},"description":"Post ID."},{"name":"action","in":"path","required":true,"schema":{"type":"string","enum":["view"]},"description":"Action to perform on the post."}],"responses":{"302":{"description":"Redirect to the frontend deep-link handler URL.","headers":{"Location":{"schema":{"type":"string"},"description":"Frontend URL containing the encoded hyperlink token."}}},"400":{"description":"Bad request — an ID could not be parsed."},"404":{"description":"Organization not found."}}}}}}
```

## Open a post via deep link (JSON)

> Same as GET but returns the hyperlink as JSON instead of redirecting.

```json
{"openapi":"3.0.3","info":{"title":"Talque Post Deep Link","version":"1.0.0"},"paths":{"/go/org/{org_id}/post/{post_id}/{action}":{"post":{"summary":"Open a post via deep link (JSON)","description":"Same as GET but returns the hyperlink as JSON instead of redirecting.","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string"},"description":"Organization ID."},{"name":"post_id","in":"path","required":true,"schema":{"type":"string"},"description":"Post ID."},{"name":"action","in":"path","required":true,"schema":{"type":"string","enum":["view"]},"description":"Action to perform on the post."}],"responses":{"200":{"description":"Parsed hyperlink token.","content":{"application/json":{"schema":{"type":"object","properties":{"hyperlink":{"type":"string","description":"JWT-encoded hyperlink token."},"success":{"type":"boolean"},"reason":{"type":"string"},"reasonEnum":{"type":"string"}},"required":["hyperlink","success","reason","reasonEnum"]}}}},"400":{"description":"Bad request — an ID could not be parsed."},"404":{"description":"Organization not found."}}}}}}
```
