id field. These IDs are designed to be stored and reused across calls.
Format
| Prefix | Type |
|---|---|
sapi_cmt_ | Comment |
sapi_rev_ | Review |
sapi_dm_ | Direct message |
sapi_mnt_ | Mention |
sapi_cmt_aW5zdGFncmFtOjE3ODQxNDA1- an Instagram commentsapi_rev_Z29vZ2xlOmNoSUpBYnVu- a Google Reviewsapi_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: ifsapi_cmt_, callsReplyToComment; ifsapi_rev_, callsReplyToReviewPOST /interactions/{iid}/moderate→ only valid forsapi_cmt_IDs; returns 400 for othersGET /interactions/{iid}/replies→ only valid forsapi_cmt_IDs
sapi_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: