POST
P4 Text to Video

Text to video

https://api.repliq.co/v2/launchTemplate

Requirements

On each request you need to provide your Bearer authentication token. See the Authentication section for more details.

AuthorizationBearer Token
Token<token>

POST /launchTemplate

This API call launch a request to generate a video from a "Text to video" RepliQ template. See RepliQ dashboard (opens in a new tab) about the options you have access for this type of template.

Mandatory Parameters

On each request, this endpoint requires the following parameters:

ParametersTypeDescription
templateIdstringThe id of the template you want to use. Id can be found on here (opens in a new tab)
firstNamestringThe firstName of the person you create the video for.

Optional Parameters

Here is the list of optional parameters you can use with this endpoint to control the video generation:

ParametersTypeDescription
prospectImgUrlstringThe linkedin profile url of the person you want to reach out to
lastNamestringThe lastName of the person you create the video for.
companyNamestringThe companyName of the person you create the video for
jobTitlestringThe jobTitle of the person you create the video for
icebreakerstringUse an icebreaker as introduction for your video specific to the person your create the video for
emailstringThe account email you want to send this video to.
webhookstringAttach a webhook url that will trigger when the video is ready for you to use. You cannot use multiple url. Zapier, make or pabbly webhooks are automaticaly added, so no need to include them in the request.

Response Parameters

Depending of the traffic, a video gets generated in around 1min. Following is the list of parameters you will receive in the response if you get a 200 status code:

ParametersTypeDescription
idstringThe id of the video that is being generated
placeholderobjectVarious data that you can use as placeholder before the video is ready for you to use as well as data you provided when doing your video

Inside the placeholder object you will receive:

ParametersTypeDescription
videoLinkstringThe url of your video
videoPreviewstringThe preview image or gif url
htmlCodestringThe preview html code you can use in your outreach tool
shortHtmlstringAnother preview html code which is less than 250 characters long (for tool that require this). It does not contain a title bellow with your prospects info
imgHtmlCodestringThe preview image html code
statusstringThe status of the video, "pending" meaning that the video is in the creation process
backgroundstringThe background use for your video
datestringThe date when the video process started
firstNamestringThe firstname you use for your video
linkedinProfileUrlstringThe linkedinProfileUrl you use for your video
lastNamestringThe lastName you use for your video
companyNamestringThe companyName you use for your video
jobTitlestringThe jobTitle you use for your video
icebreakerstringThe icebreaker you use for your video
emailstringThe email you use for your video
typestringTo help you filter automation, this variable will always be equal to "text_to_video"
dataobjectAdditionnals data you used for your video, such as videoTitle, videoDescription, ctaLink, ctaText, calendarUrl, logo and domain used

Webhook Response Parameters

If you have attached a webhook url to your request OR you are using Zapier / Make or Pabbly automation trigger, you will receive the following response on a successfull request:

ParametersTypeDescription
idstringThe id of your process
videoLinkstringThe url of your video
videoPreviewstringThe preview image or gif url
htmlCodestringThe preview html code you can use in your outreach tool
shortHtmlstringAnother preview html code which is less than 250 characters long (for tool that require this). It does not contain a title bellow with your prospects info
imgHtmlCodestringThe preview image html code
videoSuccessstringIf the video is generate correctly, the response will be "YES", otherwise "NO"
statusstringThe status of the video, "pending" meaning that the video is in the creation process
backgroundstringThe background use for your video
datestringThe date when the video process started
firstNamestringThe firstname you use for your video
linkedinProfileUrlstringThe linkedinProfileUrl you use for your video
lastNamestringThe lastName you use for your video
companyNamestringThe companyName you use for your video
jobTitlestringThe jobTitle you use for your video
icebreakerstringThe icebreaker you use for your video
emailstringThe email you use for your video
typestringTo help you filter automation, this variable will always be equal to "text_to_video"
templateNamestringTo help you filter automation, this variable will always be equal to your selected template name
dataobjectAdditionnals data you used for your video, such as videoTitle, videoDescription, ctaLink, ctaText, calendarUrl, logo and domain used

RepliQ API Docs