跳到正文
GrowSeller文档Affiliate command center
API 参考TikTok Messenger

Send Text or Image Message

POST
/im/messages/send

Authorization

bearer
headerAuthorizationBearer <token>

A personal API key (gsk_…) or an app's OAuth token

Request Body

application/json
  1. body
shop_id*Shop Id

Shop UUID or Seller ID

conversation_short_id*Conversation Short Id

Target 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)

Default1024
height?|

Image height (pixels)

Default1024
product_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

Response Body

OK

application/json
  1. response
success?boolean
data?
message?string|null
timestamp?string
Example Request
curl -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"}