API 参考TikTok Messenger
Send Text or Image Message
POST
bearerheader
AuthorizationBearer <token>A personal API key (gsk_…) or an app's OAuth token
application/json- body
shop_id*Shop IdShop UUID or Seller ID
conversation_short_id*Conversation Short IdTarget conversation short ID
content?|Text message content (optional if sending image/product)
image_url?|Image URL from upload endpoint if sending photo
width?|Image width (pixels)
Default
1024height?|Image height (pixels)
Default
1024product_id?|Product ID if sending product card in chat
product_name?|Product name for product card
product_image?|Product image URL for product card
invitation_id?|Target invitation ID if sending a target collaboration card
invitation_name?|The invitation's name, shown on the card until TikTok's copy arrives
OK
application/json- response
success?booleandata?message?string|nulltimestamp?stringcurl -X POST 'https://seller.growpaces.com/api/v1/im/messages/send' \ -H 'Content-Type: application/json' \ -d '{ "shop_id": "string", "conversation_short_id": "string"}'Example Response
{ "success": true, "data": {}, "message": "string", "timestamp": "string"}