Publish EyeLevel conversation flow associated with the given API key
post
https://api.eyelevel.ai/v1/partner
/publish/:apiKey/:id
PUBLISH
Request
{
"publish": {
"qrTheme": {
"background": "STRING",
"foreground": "STRING",
"hasBorder": BOOLEAN,
"imageUrl": "STRING",
"textIdentifier": "STRING"
}
}
}
background
OPTIONAL - String
Validation:
A valid hex color code
The background color of the QR code. We highly recommend a lighter color so that the QR code can more easily be detected by phone cameras. If this value is set, it will override any themes associated with the chat flow.
foreground
OPTIONAL - String
Validation:
A valid hex color code
The foreground color of the QR code. We highly recommend a darker color so that the QR code can more easily be detected by phone cameras. If this value is set, it will override any themes associated with the chat flow.
hasBorder
OPTIONAL - Boolean
Setting this attribute true will add a margin around the edges of the QR code with the background color. The default value is false. If this value is set, it will override any themes associated with the chat flow.
imageUrl
OPTIONAL - String
Validation:
A valid URL including protocol http(s)
The URL for the hosted image. This image will be applied to the center of the QR code. If this value is set, it will override any themes associated with the chat flow.
textIdentifier
OPTIONAL - String
Validation:
255 character limit
A human readable string that is displayed below the QR code. If this value is set, it will override any themes associated with the chat flow.