> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postsyncer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Post by platform post id

> Retrieve a post by the native id assigned by the social platform

## Get Post by platform post id

Returns the same payload as [Get Post](/api-reference/posts/get), but resolves the post via `platform_posts.platform_post_id` (for example a tweet/status id), scoped to workspaces your token can access.

If the raw id contains characters that are special in URLs, percent-encode that single path segment.

### Request

<ParamField path="platform_post_id" type="string" required>
  Platform-native post identifier saved after publishing
</ParamField>

<ParamField query="include_comments" type="boolean" default="false">
  Same as [Get Post](/api-reference/posts/get)
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X GET "https://postsyncer.com/api/v1/posts/by-platform-post-id/1234567890?include_comments=false" \
    -H "Authorization: Bearer YOUR_API_TOKEN"
  ```
</RequestExample>

### Response

Same fields as [Get Post](/api-reference/posts/get).

### Error Codes

<ResponseField name="401" type="Unauthorized">
  Missing or invalid API token
</ResponseField>

<ResponseField name="403" type="Forbidden">
  Token does not have the `posts` ability
</ResponseField>

<ResponseField name="404" type="Not Found">
  No post with this platform post id in any accessible workspace
</ResponseField>
