POST/fb/sending/sendContent
Sends Dynamic Block v2 content to a contact. Outside the 24-hour window a message_tag (or an OTN topic) is needed.
- Key
- The account's key, as a Bearer token
- Limit
- 25 requests per second per key
Parameters
| Name | In | Type | Required |
|---|---|---|---|
| subscriber_id | JSON body | integer or string | Yes |
| data | JSON body | object | Yes |
| message_tag | JSON body | string | No |
| otn_topic_name | JSON body | string | No |
Request
curl -X POST https://engage.growthdept.ai/api/fb/sending/sendContent \
-H "Authorization: Bearer 1000001:YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{"subscriber_id":{},"data":{}}'Answer
HTTP 200 with status: "success".
Errors
400Refused401Missing or invalid key429Over the operation's limit; see Retry-After
Shapes and numbered codes: Errors.