Skip to main content
GET
Get an upload link
Needs media:read. See Permissions.
Reads a link made with Create an upload link, by its id. Call it when the person says the upload is done. The MCP tool get-media-upload-link does the same.
  • media holds the files the link took that are still in the library, in the order they arrived. Put each id in a post’s content[].media.
  • files_uploaded counts every file the link took, including any deleted from the library since. So it can be more than the number of items in media. A link takes no more files once files_uploaded is max_files.
  • expired is true once expires_at has passed. An expired link still reads here, with the files it took.
  • An empty media with files_uploaded at 0 means no file has arrived yet: ask the person whether the upload finished.
This answer never has the link’s url or upload_url: only the create answer gives them.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

The link's id, from the create answer.

Response

The link.