Saved draft of a wizard for this user and brand (`state: null` if none)
GET
/v1/brands/{brand}/wizard-drafts/{wizard}
const url = 'https://api.replifier.com/v1/brands/example/wizard-drafts/segment-new';const options = { method: 'GET', headers: {cookie: '__Host-repf_session=<__Host-repf_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/brands/example/wizard-drafts/segment-new \ --cookie __Host-repf_session=<__Host-repf_session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”brand
required
string
wizard
required
string
Example
segment-newResponses
Section titled “Responses”Draft
Media typeapplication/json
object
state
required
object
key
additional properties
updatedAt
required
string
Example generated
{ "state": { "additionalProperty": "example" }, "updatedAt": "example"}Invalid data
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Internal error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}