Contents

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

NameInTypeRequired
captionJSON bodystringYes
typeJSON bodyone of "text", "number", "date", "datetime", "boolean"Yes
descriptionJSON bodystringNo

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:

FieldType
field*Custom Field
FieldType
id*integer
name*string
type*one of "text", "number", "date", "datetime", "boolean"
description*string

Errors

  • 400 Refused
  • 401 Missing or invalid key
  • 429 Over the operation's limit; see Retry-After

Shapes and numbered codes: Errors.