Skip to content

List the flow templates (starting points) a draft can be created from

GET
/v1/brands/{brand}/flow-templates
curl --request GET \
--url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/flow-templates
brand
required
string
/^brd_[a-z0-9]{26}$/

Example

brd_01hx0000000000000000000000

Templates

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
Allowed values: welcome abandoned_cart reactivation birthday post_purchase saas_onboarding email_whatsapp
name
required

Template name in the request language (Accept-Language; English if missing)

string
description
required

What the template does, in the request language (English if missing)

string
subjects
required

Suggested subject for each email, in order, in the request language; emailCount items

Array<string>
needs
required

What target must be: a list id, a segment id, a contact date field or an event name

string
Allowed values: list segment field event
defaultEvent

Usual event name when needs is event

string
emailCount
required

How many subjects the template takes

integer

Example

{
"data": [
{
"id": "welcome",
"needs": "list"
}
]
}

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"
}
}

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"
}
}