Skip to main content

Get a business's enquiry form

GET/api/v1/public/enquiry_forms/{key}

The business's name and logo, for the hosted form. 404 when the key is not current.

  • Needs no key. Anyone may send it, from a web page or a server.

Parameters

In the address

  • keystringrequired

    The workspace's form key, from `account.enquiry_form.key`. It is not a secret.

    At least 1 character.

Responses

200Who the enquiry goes to.

  • dataobjectrequired

    Fields(1)
    • businessobjectrequired

      Fields(2)
      • namestringrequired

      • logo_urlstring (uri) or null

A refusal answers in the one error shape every operation shares.

Example

A request our own tests send. The ids are made up: put your own in their place.

curl "https://app.tradesender.co.uk/api/v1/public/enquiry_forms/YOUR_FORM_KEY"