SocialiQDocs

Resources

Resolve

A utility to turn any URL, @handle, shortcode, or raw ID into a canonical { platform, resource, id } you can address with the resource routes above.

Resolve a link

POST/v1/resolve

Detect the platform and entity, and return the canonical address. Platform-agnostic, so it has no platform segment.

FieldInTypeDescription
inputrequiredbodystringA URL, @handle, shortcode, or raw platform ID.
platformbodyenumOverride the auto-detected platform for ambiguous input.
typebodyenumHint the entity type when it cannot be inferred.

Request

curl -X POST https://api.socialiq.dev/v1/resolve \  -H "Authorization: Bearer sc_live_..." \  -H "Content-Type: application/json" \  -d '{"input":"https://www.tiktok.com/@openai/video/7350810998023949599"}'

Response

[ .JSON ]
{  "request_id": "sc_a1b2c3d4e5f6a7b8c9d0",  "data": {    "platform": "tiktok",    "resource": "posts",    "type": "post",    "id": "7350810998023949599",    "handle": "openai",    "url": "https://www.tiktok.com/@openai/video/7350810998023949599"  }}
200 · resolve