Skip to main content
POST
Copy a survey from a copy link as a draft

Authorizations

Authorization
string
header
required

An API key (utk_live_...) or an app's OAuth access token (uto_...).

Headers

Idempotency-Key
string

Any 1 to 255 printable ASCII characters, without a space at either end. The answer to the first request with a key is kept for 24 hours per credential: the same request again gets it back (Idempotent-Replayed: true), another request with the key is 409 PUB-002-002, and while the first still runs 409 PUB-002-003. A server error is not kept, and a request that never answered frees its key after 2 minutes: a retry with the key then runs again.

Maximum string length: 255

Body

application/json

Send url or token, one of them and nothing else (400 PUB-008-001 for another field, 400 PUB-001-004 for both or neither).

url
string<uri>

An address of a copy link on Usertick's site, with or without a language in the path, such as https://usertick.com/try/kX9pQ2mLw4nT8vRz5aBc7dEf or https://usertick.com/de/try/kX9pQ2mLw4nT8vRz5aBc7dEf. Any other address is 404 SRV-014-001.

Maximum string length: 2048
token
string

The last part of the address, instead of url.

Required string length: 1 - 64

Response

Created.

id
string<uuid>
required
name
string
required
status
enum<string>
required
Available options:
draft,
active,
paused,
archived
channel
enum<string>
required
Available options:
website,
link,
email
site
object | null
required
draftVersion
integer
required

Send it back as expectedDraftVersion.

editable
boolean
required

True for a draft, a live and a paused survey; an archived one changes once a person restores it.

hasUnpublishedChanges
boolean
required

True when the survey is live or paused and this is its unpublished changes: visitors see the published version until a person publishes.

editorUrl
string<uri>
required

The survey in the Usertick editor, where a person publishes it. Give it to the person.

defaultLanguage
string
required
languages
string[]
required
displayMode
enum<string>
required
Available options:
steps,
all,
chat
position
string
required
texts
object
required
theme
object
required

Both null for a look a person changed by hand.

display
object
required

How the survey shows, with the defaults filled in; the website widget's settings on a website survey only.

chat
object
required
page
object | null
required

Null on a website survey.

settings
object
required

redirectUrl, anonymous, hideWithoutStorage (website), responseLimit, showClosingNote (link, email), showBadge and timer.

email
object | null
required

Null on another channel.

targeting
object
required
variants
object[]
required
endings
object[]
required

The endings in order, in the input's shape. A survey that never had endings reads as one, e_default, made of its success texts and its redirect.

questions
object[]
required
publishChecks
object[]
required

What publishing would refuse now: a report for the person who publishes. Nothing here blocks saving a draft.

createdAt
string<date-time>
required
Example:

"2026-09-30T10:00:00.000Z"

updatedAt
string<date-time>
required
Example:

"2026-09-30T10:00:00.000Z"

aiGenerated
boolean
required

True when Usertick AI wrote text in the survey's own fields; each question has its own. Read only.

aiGeneratedAt
string<date-time> | null
required

When text Usertick AI wrote was first stored here; null when people wrote all of it.

Example:

"2026-09-30T10:00:00.000Z"

Last modified on November 25, 2026