id field. These IDs are designed to be stored and reused across calls.
Format
| Prefix | Type |
|---|---|
socapi_cmt_ | Comment |
socapi_rev_ | Review |
socapi_dm_ | Direct message |
socapi_mnt_ | Mention |
socapi_cmt_aW5zdGFncmFtOjE3ODQxNDA1— an Instagram commentsocapi_rev_Z29vZ2xlOmNoSUpBYnVu— a Google Reviewsocapi_dm_aW5zdGFncmFtOnQxNzg0MQ— an Instagram DM
Why this matters
The type prefix lets the API dispatch correctly without a database lookup:POST /interactions/{iid}/reply→ checks prefix: ifsocapi_cmt_, callsReplyToComment; ifsocapi_rev_, callsReplyToReviewPOST /interactions/{iid}/moderate→ only valid forsocapi_cmt_IDs; returns 400 for othersGET /interactions/{iid}/replies→ only valid forsocapi_cmt_IDs
socapi_rev_ ID to an endpoint that only accepts comments, you’ll get a 400 error.
Stability
IDs are deterministic — the same platform interaction always produces the same SocialAPI ID. You can safely store IDs in your database and compare them across calls.Using IDs
Fetch comments:id:
id: