Query
itemIdsByUrl
Look up item IDs by social media URL within the current workspace. Accepts any public HTTP(S) URL. INVALID_URL means a malformed or non-HTTP URL, or a private/reserved host. A valid public URL that does not resolve returns NOT_FOUND: an unrecognized shape, a short link, or no matching item. Recognized shapes (not exhaustive): Instagram (/p/, /reel/, /reels/), TikTok (@user/video/{id}, @user/photo/{id}), and YouTube (/shorts/, /watch?v=, youtu.be/).
Arguments
- urls [String!]! required
- Public HTTP(S) URLs to look up (1-100). Any public URL is accepted; INVALID_URL only for malformed / non-HTTP URLs or private/reserved hosts, otherwise FOUND or NOT_FOUND.
Returns
Returns [UrlLookupResult!]!.
Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.
- itemId ID
- The matching Item UUID, or null if no match was found.
- status UrlLookupStatus!
- Outcome of the lookup: FOUND, NOT_FOUND, or INVALID_URL.
- FOUND
- Item found in the current workspace matching the provided public HTTP(S) URL.
- INVALID_URL
- The input was malformed, used a non-HTTP(S) scheme, or targeted a private/reserved host.
- NOT_FOUND
- The input was a valid public HTTP(S) URL, but no matching item exists in the current workspace.
- url String!
- The original input string that was looked up.