ข้ามไปยังเนื้อหา
GrowSellerเอกสารAffiliate command center
API ReferenceMessenger Broadcast

Create a message template

POST
/templates

Authorization

bearer
headerAuthorizationBearer <token>

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

Request Body

application/json
  1. body
shop_id?|null
title*Title
Lengthlength <= 200
attachments*array<||>
Items1 <= items <= 20

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/templates' \  -H 'Content-Type: application/json' \  -d '{  "title": "string",  "attachments": [    {      "type": "text",      "content": "string"    }  ]}'
Example Response
{  "success": true,  "data": {},  "message": "string",  "timestamp": "string"}