cURL
curl --request POST \ --url https://api.sevalla.com/v2/pipelines/{id}/create-preview-app \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "branch": "feature/my-branch", "pull_request_number": 42 } '
{ "app": { "id": "fb5e5168-4281-4bec-94c5-0d1584e9e657", "name": "my-app", "display_name": "My Application" } }
Create a preview application in a pipeline.
API key authentication. Pass your API key as a Bearer token in the Authorization header.
"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Git branch for the preview app
1
"feature/my-branch"
Pull request number
-9007199254740991 <= x <= 9007199254740991
42
Default Response
Show child attributes
Was this page helpful?