Method: POST
URL: https://api.flixcheck.com/user/v7/checks
Headers:
Content-Type: application/jsonX-Flixcheck-UserId: <Your User ID>X-Flixcheck-ApiKey: <Your API Key>Body:
{
"resource": {
"type": "full",
"recipient": {
"gender": "female",
"firstname": "Barabara",
"lastname": "Streisand",
"mobile": "017022222222"
},
"subject": "My first API test",
"language": "de-DE",
"sendBy": "sms",
"elements": [
{
"id": "1234ABCD",
"type": "question",
"subtype": "text",
"options": {
"text": "What's your favourite city?"
}
}
]
}
}
Response:
{
"resource": {
"id": "xxx",
"subject": "My first API test",
"code": "yYbxXxCe7",
"answerLink": "<https://www.flixcheck.de/a/yYbxXxCe7>"
}
}
Tipp: Use the resource.id as Check ID in
as cURL