# Get an Instagram post

### Get an Instagram post

`GET /api/v1/instagram/posts/{postId}`

Operation ID: `getInstagramPost`

Returns one post, by postId or by the short code from its URL.

**Path parameters**

- `postId` (string, required): postId from a posts listing, or the short code from the post URL.

**Query parameters**

- `connectedAccountId` (string · uuid, required): Connected account to act as

**200**: Post.

- `post` (object, required)
  - `postId` (string, required): Pass as postId to comment on the post or read its likes.
  - `shortcode` (string | null, required): The id in the post URL, as in instagram.com/p/{shortcode}.
  - `text` (string, required): The caption, empty when the post carries none.
  - `url` (string | null, required)
  - `postedAt` (string · date-time | null, required)
  - `likeCount` (number | null, required)
  - `commentCount` (number | null, required)
  - `hasLiked` (boolean, required): True when the connected account already liked the post.
  - `commentsDisabled` (boolean, required): True when the post accepts no comments.
  - `mediaType` ("image" | "video" | null, required)
  - `previewImageUrl` (string | null, required)
  - `videoUrl` (string | null, required)
  - `locationName` (string | null, required)
  - `author` (object | null, required)
    - `identity` (string | null, required): Username, taken as identity by the other endpoints.
    - `imageUrl` (string | null, required)
    - `isVerified` (boolean, required)
    - `isPrivate` (boolean, required)

**Errors**

- `400`: Bad request
- `401`: Unauthorized: missing or invalid API key
- `403`: Forbidden
- `404`: Not found
- `422`: Invalid request payload
