Hello,
Thank you for reporting this.
Could you please open a ticket with Genesys Cloud Customer Care to report the issue?
It appears to be a problem with the Swagger (OpenApi v2.0) definition of the GET /api/v2/integrations/credentials/types endpoint. The swagger definition states that the 200 response returns a CredentialTypeListing (model) - while it is in fact returning an array of CredentialType (model).
The Platform API Swagger (OpenApi v2.0) definition is what is used to display contracts in the API Explorer or to automatically build the different Platform API SDKs.
It would be necessary to open a ticket with Care so they can escalate this matter to the Integrations team, so they can fix the swagger definition.
You can reference my post/answer in your ticket with Care to facilitate its handling.
Thank you.
Regards,
------------------------------
Jerome Saint-Marc
Senior Development Support Engineer
------------------------------
Original Message:
Sent: 03-17-2026 12:36
From: Wolfgang Liebich
Subject: An endpoint in the integration API returns invalid data (wrong data format)
I am experimenting with CX as code, and during this, I was redirected to look at the API call [GET /api/v2/integrations/credentials/types](https://developer.genesys.cloud/platform/integrations/#get-api-v2-integrations-credentials-types). According to the documentation, this API call should return a typical paged resource (i.e. an object containing a field named "entities" which holds an array of the "real" data).
Instead I got back a raw array of the data - i.e. not wrapped into such a standard paged resource!
This looks like a rather evil bug to me.
Additionally, at least in the Java PSDK, I cannot set the page parameters (page size and current page number) in the request, which looks like a rather unfinished API to me.
Can anyone give me an information about the status of this API? It is not among the "preview APIs"...
Regards,
Wolfgang Liebich
#PlatformAPI
------------------------------
Wolfgang Liebich
------------------------------