POST/fb/page/createCustomField
Creates a custom user field. The body names it `caption`; the answer calls it `name`.
- Key
- The account's key, as a Bearer token
- Limit
- 10 requests per second per key
Parameters
| Name | In | Type | Required |
|---|---|---|---|
| caption | JSON body | string | Yes |
| type | JSON body | one of "text", "number", "date", "datetime", "boolean" | Yes |
| description | JSON body | string | No |
Request
curl -X POST https://engage.growthdept.ai/api/fb/page/createCustomField \
-H "Authorization: Bearer 1000001:YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{"caption":"text","type":"text"}'Answer
HTTP 200 with status: "success" and data:
| Field | Type | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| field* | Custom Field
|
Errors
400Refused401Missing or invalid key429Over the operation's limit; see Retry-After
Shapes and numbered codes: Errors.