Hi Alex,
While uploading your application for Automation testing, you can define a "custom_id" in params. The “custom_id” defined in the cURL command can be used in your automation test script as desired capabilities. You do not have to remember the “app_URL” and only use the “custom_id” to run your automation on the same app. Use the following cURL command while uploading the app and pass the “custom_id” as needed.
curl --location --request POST 'https://manual-api.lambdatest.com/app/upload/realDevice' \
--header 'Authorization: Basic <Basic Auth Code>' \
--form 'name="\"lambda1\""' \
--form 'appFile=@"wiki.apk"' \
--form 'custom_id="WikiPedia"'
Hope this helps!