Post not yet marked as solved
I am trying to automate PASS\_TYPE\_ID certificate creation via AppleConnect API, I cannot find what parameters I should use to be able to create this type of certificate.
When I try to POST this data to https://api.appstoreconnect.apple.com/v1/certificates:
{'data': {'attributes': {'certificateType': 'PASS\_TYPE\_ID', 'csrContent': '-----BEGIN CERTIFICATE REQUEST----------END CERTIFICATE REQUEST-----\n'}, 'type': 'certificates'}}
I get this error:
{'errors': [{'code': 'NOTFOUND',
'detail': "There is no identifier with ID 'null' on this team.",
'id': '5c9f7d3c-ce75-43a4-b3ac-b295a8f146db',
'status': '404',
'title': 'The specified resource does not exist'}]}
From OpenAPI spec is not clear what parameters should be used and 'certificateType': 'PASSTYPE_ID' is not covered there.
Do you have idea or example how to do it?
Post not yet marked as solved
Does anyone know where I can find the embed code for the Apple Download Badge for apps? I have tried ITunes link Maker but there is no-where on it for Apps.
I managed to get the Google badge in seconds but for Apple it seems it’s like trying to find the holy grail. I’ve been through 3 different support contacts who have now referred me here. I would really appreciate any up to date info on how to find the code.
many thanks!
Post not yet marked as solved
Hi,
For the App Store Connect API and TestFlight, can I get the install status for all users in a particular group via the SDK? We would like to automate a report that tells us which employees have our beta app installed and if so, what version.
Thanks
Post not yet marked as solved
I'm trying to access the App Store Connect API and I'm having some issues. When I try to connect to the api with the generated token I get a 401 error code.
I have been following the instructions exactly as in the following documentation links.
https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api
https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests
Could it be an issue with the private key that I'm using? If so is there a way to verify if the private key I have is valid?
Post not yet marked as solved
Hello fellow devs,
I'm looking to setup server-to-server notifications for application install (and onboarding completed). Basically, I need some kind of webhook such that when the application is installed by someone our server will get notified.
Based on Apple's docs (link below), it appears I can define it under the "App Information" section and field "URL for App Store Server Notifications" of App Store Connect, but I don't see it (wish I could attach screenshots).
https://help.apple.com/app-store-connect/#/dev0067a330b
Maybe it's because the app is in TestFlight? Is the link only available for apps that are published on the App Store?
Can someone please help? It's a real problem that I've spent days trying to figure out?
Post not yet marked as solved
I'm trying to get all the reviews got for my app-store app via an API. Is there any existing API for that ? I found an rss API, which gives a max of 500 reviews(Example: https://itunes.apple.com/il/rss/customerreviews/id=567630281/sortBy=mostRecent/json). Also, which is accessible to anyone having the app id.
I was searching for an API which gives access to all the customer reviews got for my app and expecting authentication for the API request.
Please help.
Post not yet marked as solved
I'm stuck!
For starters, mobile is not the primary platform for our app so I apologize ahead of time if I don't know enough about this to ask the right questions. But I'm learning :)
We are saving the original transaction id when a user makes an in-app purchase for a subscription to our product, but their subscriber id is not included in the receipt. I can download sales reports with subscriber ids but even the "transaction level" subscriber reports do not contain the transaction id. I do not care in the slightest who the subscriber id belongs to so I don't need any user information. Nothing like that. I just need to match transactions to records in our system for reporting purposes.
Has anybody found a way to tie subscriber ids to transaction ids or vice versa?
Hi !
Since March 3 every time I try to request the API endpoint to list bundle ids(https://developer.apple.com/documentation/appstoreconnectapi/list_bundle_ids) for an enterprise account which has the Admin role I get an Access forbidden error.
This was working just fine before the date, the account has 2FA since a month ago too, and for the other developer accounts the API is working just fine.
Could someone confirm this please ?
Thanks !
Post not yet marked as solved
our company has much much more apps, and we have to update push certificates by handle.This is repetitive and inefficient work . I need your help
Post not yet marked as solved
I have been using the App Store API to get sales reports without any problem. but unfortunately having issues with the financial reports. I am able to view and download reports starting January 2021 that have data but when attempting to get it via API I get a 404 response:
{
"errors": [
{
"id": "XXXX-XXXX-XXXX-XXXX",
"status": "404",
"code": "NOT_FOUND",
"title": "The request expected results but none were found",
"detail": "There were no sales for the date specified."
}
]
}
I am using the same vendor number and these additional filters:
filter[reportType] = FINANCIAL
filter[reportDate] = 2021-02
filter[regionCode] = Z1 (and tried many different ones but I get the same response)
Any idea what I can do to get this to work?
Thanks
Post not yet marked as solved
Everytime I erase and set my phone to factory reset I always see the same errors.
{"timestamp":"2021-05-15 16:05:02.00 -0400","bug_type":"313","os_version":"iPhone OS 14.5.1 (18E212)","incident_id":"0BB5267C-1AA6-4C0B-B048-C201D896D9C5"}
{"locale":"en_US","agent":"parsecd\/1.0 (iPhone12,8; iPhone OS 14.5.1 18E212) DuetExpert\/1","user_guid_string":"344C4C73-9029-4D5D-BF54-BAD2AF5E1FA2","country_code":"US","session_start":1621109102,"previous_session_end_reason":"no_previous_session"}
what is duet expert?
Post not yet marked as solved
The following request get 500 Server Internal Error. Anyone knows why? :(
// Request
curl --location --request POST 'https://api.appstoreconnect.apple.com/v1/devices'
--header 'Authorization: ${the_token}'
--header 'Content-Type: application/json'
--data-raw '{
"data": {
"type": "devices",
"attributes": {
"name": "${the_device_name}",
"udid": "${the_device_udid}",
"platform": "IOS"
}
}
}'
// Response
{
"errors": [
{
"status": "500",
"code": "UNEXPECTED_ERROR",
"title": "An unexpected error occurred.",
"detail": "An unexpected error occurred on the server side. If this issue continues, contact us at https://developer.apple.com/contact/."
}
]
}
Post not yet marked as solved
Is there a way to use App Store Connect API to get the information we see listed under Version History page?
https://appstoreconnect.apple.com/apps/{app_id}/appstore/activity/ios/versions?m=
I noticed that the website uses the following endpoints to retrieve that information:
https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/apps/{app_id}/stateHistory?platform=ios
https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/apps/{app_id}/versions/{version_id}/stateHistory?platform=ios
This looks to be an internal only API. Is it okay to use it?
Thanks!
Post not yet marked as solved
Hey all!
I've been using the App Store Connect API for a while now, and have been experiencing a recurring issue I don't understand. I've noticed that requests occasionally (and seemingly randomly) fail with this error message: "The specified resource does not exist". Retrying the request usually is successful.
Some examples of errors we've seen:
(Updating an edit version): "There is no resource of type 'appStoreVersions' with id ___" I checked after the fact, appStoreVersion model did exist with the given ID.
(Fetching list of versions): "The specified resource does not exist - There is no resource of type 'AppsV1' with id ___''" Same deal, checked and the models looked OK.
Thanks so much in advance for any advice or help debugging this!
Post not yet marked as solved
How to get sales report data between two date range from app store connect api? This API does not allows us to provide startDate & endDate in its request call.
Hi!
I'm desperately looking for the documentation on using MetricKit REST API, and download diagnostics and metrics data on my server for analysis and visualisations.
At the moment, there's very little of documentation on MetricKit, and it's limited to the usage on device.
Please, help me to find the documentation on how to use REST API for it 🙏
There's awesome video from WWDC2020 about it (https://developer.apple.com/wwdc20/10057), but the promised documentation can not be found 😅
Post not yet marked as solved
Hello,
I've been looking for an App Store Connect API call to get the testers and their statuses for a specific app/build version, eg:
The closest I've gotten is querying the betaGroups and betaTesters themselves, but could not link their statuses to an app/build version.
For context, I would like to re-send invitations to invited testers who haven't responded for a certain amount of time.
Any tips are welcome.
Thanks!
Post not yet marked as solved
I am trying to get sales reports and financial reports from apple api connect. the data comes back as g-zip file and I would like to receive/convert it to Json. Does anyone have any experience with this.
Post not yet marked as solved
Hi Team,
We are seeing a strange issue on the iPad device with iOS v14.6 where our backend API is not getting invoked. We have verified the same API calling code on multiple iPhone devices & simulators with different iOS versions ranging from v13.0-v14.6 and on iPad simulators with iOS versions ranging from v14.0-v14.5. It seems to be working fine on all except the real iPad device with v14.6. Any help in these is really appreciated.
Post not yet marked as solved
How can I get the daily download number of my app from the Apple Store automatically?
I looked for different ways and so far I haven't found anything.
I found this documentation that talks about bringing sales, but how can I put my app id in it (to make the request with App Store Connect API)