curl --request POST \
--url https://api.example.com/api/onboarding/finalize \
--header 'Content-Type: application/json' \
--data '
{
"templateKey": "<string>"
}
'{
"project": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"key": "<string>",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"document": {
"id": 123,
"key": "<string>",
"name": "<string>",
"path": "<string>",
"contentType": "<string>",
"type": "<string>"
}
}Completes the onboarding process by creating a new project with the selected template, including a default document and test event.
curl --request POST \
--url https://api.example.com/api/onboarding/finalize \
--header 'Content-Type: application/json' \
--data '
{
"templateKey": "<string>"
}
'{
"project": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"key": "<string>",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"document": {
"id": 123,
"key": "<string>",
"name": "<string>",
"path": "<string>",
"contentType": "<string>",
"type": "<string>"
}
}Key of the template to use for the new project
Was this page helpful?