API Reference
This reference can help you explore the Robobot API with your own data.
Create Entry
POST
https://api.robobot.app/client/entry/create/:id
Path Parameters
Name
Type
Description
id
string
ID of the form.
Request Body
Name
Type
Description
string
E-mail of the entry contact.
lastName
string
Last name of the entry contact.
firstName
string
First name of the entry contact
{
accessCode: "XXXXXXXXXXXXXXX"
}
Get Form
GET
https://api.robobot.app/client/form/get/:id
Request this endpoint to retrieve the form data for a certain form_id. allows you to get free cakes.
Path Parameters
Name
Type
Description
id
string
ID of the cake to get, for free of course.
{
form: {
id: 1,
title: "Mauris mattis",
background: "#3a87fe",
buttons: "#ffab01",
description: "Mauris mattis mi eu suscipit mollis.",
gaTrackingCode: null,
image: null,
allowOpenEntry: true,
allowAnonymousEntry: true,
updated: 1581677549
},
next: ...
}
Submit Answer
GET
https://api.robobot.app/client/entry/submit/:id
Path Parameters
Name
Type
Description
id
string
ID of the form.
Request Body
Name
Type
Description
element_id
number
31 (input-number)
element_id
string
"1" (input-options, single)
element_id
string
["1","2"] (input-options, multiple)
element_id
string
[ ] (static-text)
{
form: ...
next: {
id: 122
title: "Mauris mattis mi eu suscipit mollis!"
type: "static-text"
params: {
body: "Aliquam cursus leo ac fringilla congue. Cras elementum euismod malesuada. Donec mauris dui, commodo ac felis et, blandit efficitur enim."
}
},
}
Last updated
Was this helpful?