connections

Call connections.set_page_cta

Choose the call-to-action button on this brand's Facebook Page — 'change our Facebook Page button to Book Now', 'set the CTA to Shop Now'. Set the call-to-action button on this brand's Facebook Page. This changes what visitors see on the live Page immediately, so read connections.page_cta first and tell the operator what it is changing FROM. The result is re-read from Facebook, so report what it says rather than what you asked for — Facebook can normalise or refuse part of a request. Not for removing the button altogether — that is connections.clear_page_cta.

Every result names the workspace it ran in. Say which workspace the answer is about. When the account has more than one workspace and none is selected, this tool refuses with workspace_ambiguous and lists the choices — offer them, never pick one.

post/api/v1/tools/connections.set_page_cta

Request

  • Base URL: https://app.goosybear.ai
  • URL: https://app.goosybear.ai/api/v1/tools/connections.set_page_cta
  • Auth: HTTP bearer

Headers

x-request-idstring

Your own id for this request, echoed back and recorded on the audit trail. 1–128 characters from A–Z a–z 0–9 . _ : -, starting with a letter or digit; anything else is replaced by a generated id.

Request body

typestring required

The button label, as one of Facebook's exact values — e.g. BOOK_NOW, CALL_NOW, SHOP_NOW, SIGN_UP, LEARN_MORE, CONTACT_US, REQUEST_QUOTE, GET_DIRECTIONS. Not every Page can run every button; if Facebook refuses one, say so and offer a different one rather than retrying the same value.

web_destination_typestring

Where the button sends people, as one of Facebook's exact values — WEBSITE for a link, EMAIL for an address, NONE for a button with no destination. Leave it out for a plain website or phone button: it is derived from what you supply. Required for an EMAIL button.

web_urlstring

The full https link the button opens. Required for a button that sends people to a website; leave it out for CALL_NOW.

phone_numberstring

For CALL_NOW: the number in full international form, starting with + (e.g. +14155550123). A national-format number dials wrong for half the callers and is refused.

email_addressstring

For an email-destination button: the address to open.

workspacestring

Which workspace to run in — its slug. Omit to use your default. With more than one reachable workspace and no default, the call is refused and the choices are listed.

Response

The call was admitted and dispatched. ok says whether the tool succeeded — a refusal the tool itself produced is still a 200, exactly as it is a successful JSON-RPC result over MCP.

OR

Changes

No recorded changes to this operation across all 6 revisions of this API.