Skip to main content
Version: v3

Create conversation form

POST 

/ad-publishing/facebook/conversation-forms

Create a Messenger conversation form. Note the created record is returned in its raw stored form rather than the shape the listing endpoint uses: the identifier comes back as _id instead of id, and the internal __v version key is included.

Request

Version stringrequired

API Version

Available optionsv3
application/json

Bodyrequired

    locationIdstringrequired

    Location identifier

    namestringrequired

    Conversation form name

    textstringrequired

    Welcome message text

    questionsobject[]required

    Quick-reply questions shown in the welcome message of the conversation form

application/json

The stored conversation form

Schema
    _idstringrequired

    Conversation form id. Note _id, not the id the listing endpoint returns for the same record.

    namestringrequired

    Form name

    textstringrequired

    Opening message

    locationIdstringrequired

    Owning location

    questionsobject[]required

    Prompt and canned-reply pairs as stored

    createdAtstringrequired

    Creation time, ISO-8601

    updatedAtstringrequired

    Last modification time, ISO-8601

    __vnumber

    Mongo document version key, leaked by this branch only. Not part of the contract.