Skip to content

Welcome to the DIY Surveys API

Version 3.0

Welcome to the DIY Surveys API documentation. This documentation covers the general use of the DIY Surveys Open API.

Using this RESTful API you can:

  • Send and receive messages, including SMS and WhatsApp messages.
  • Track the delivery of sent messages.
  • Retrieve message history.
  • Manage keywords.
  • Retrieve survey results.

Check our Getting Started Guide to help you.

Base URL

All URLs referenced in this documentation use the following base endpoint:

https://api.diysurveys.com/api/v3.0

The API is offered over HTTPS. HTTP is not supported. For more information on version please Click here.

Authentication

DIY Surveys supports Basic Access Tokens and HMAC authentication. See Security for details.

HTTP statuses

Every API returns a status. Standard responses include:

Status Description
200 Success.
400 Bad request. The HTTP message will vary depending on the type of problem.
401 Unauthorized. The session details cannot be successfully authenticated for the API method.

Additional status values are included in the relevant API method documentation.

Metadata

Metadata can be supplied with API methods where appropriate, allowing you to track messaging and data more effectively. See Metadata.

Callbacks

DIY Surveys supports callbacks for many methods. See Web Hooks and Callbacks.

Macros

DIY Surveys messages can include macros that provide access to tools such as the DIY Surveys Tiny URL service. See Macros.

API sections

  • Keyword — keyword management.
  • TinyUrl — TinyUrl creation.
  • Messaging — message management.
  • Survey — survey results.
  • Recipient — recipient upload, de-duplication, and mobile-number validation.
  • Usage — usage reporting.

Frequently Asked Questions

After you have read all the documentation we have tried to answer all your frequently asked questions here.

Reporting issues

DIY Surveys is focused on continually improving the quality of its software where our customer's satisfaction is our No 1 priority. If you experience any issues or have any question then please report it through the public GitHub Issues. If you believe the issue is related to the security of the service then please contact us directly.