Voice Agent Questions

Create Question Template

Create Question Template

Requires the OWNER or ADMIN role. Creates a company-scoped template -- the "custom question" a user names themselves rather than picking from Speak's shared library. The server stamps companyId and forces isSystemTemplate to false, so this template is only ever visible to your company.

post/voice/question-templates

Request

  • Base URL: https://api.speakai.co/v1
  • URL: https://api.speakai.co/v1/voice/question-templates
  • Auth: API key in header x-speakai-key and API key in header x-access-token

Request body

namestring required

Required.

descriptionstring required

Required.

category'contact' | 'booking' | 'qualification' | 'payment' | 'custom' required

Required.

fieldType'email' | 'phone' | 'date' | 'time' | 'datetime' | 'text' | 'number' | 'boolean' | 'choice' | 'url' required

Required.

isPublicboolean
tagsstring[]

Response

Created

status'success'

Changes

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