API endpointsConnected profilesCreate a Koil Connected Profile from an eligible provider profile POST
Create a Koil Connected Profile from an eligible provider profile
Create a Koil Connected Profile from an eligible provider profile.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/connected-profiles" \ -H "Content-Type: application/json" \ -d '{ "providerId": "youtube", "connectionId": "test_conn_youtube_healthy", "providerProfileExternalId": "UCtest_yt_channel_1" }'{ "connectedProfileId": "string", "providerId": "string", "connectionId": "string", "providerProfileExternalId": "string", "resourceRefs": { "property1": "string", "property2": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}{ "error": { "code": "validation_error", "message": "string", "meta": { "property1": null, "property2": null } }}