{"integration": {"id": "string","type": "INTEGRATION_TYPE_INVALID","status": "INTEGRATION_STATUS_INVALID","created_at": "string","updated_at": "string"}}
{"error_code": "REAL_CODES_ARE_IN_ENDPOINT_DESCRIPTION","message": "Additional details about error are not static and can be changed"}
auth.tokenNotFound
, auth.tokenExpired
, auth.tokenInvalid
, auth.tokenRequired
.{"code": "auth.tokenNotFound"}
This is unexpected response, something is wrong on our side, please contact: help@whisk.com
{"type": "INTEGRATION_TYPE_CUSTOM"}
Note: To learn about the type
attribute, see Integrations Object.
curl -X PUT "https://api.studio.whisk.com/integrations/v1/add"-H "Accept: application/json"-H "Authorization: Bearer <YOUR-API-ACCESS-KEY>"-d "{ \"type\": \"INTEGRATION_TYPE_CUSTOM\"}"
Note: Whisk allows you to discover and understand its API capabilities on the Swagger interface with the ability to try out the API calls directly in your browser. You can call this endpoint here.
{"integration": {"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","type": "INTEGRATION_TYPE_CUSTOM","status": "INTEGRATION_STATUS_ENABLED","created_at": "1608910441740","updated_at": "1608910441740"}}
Note: To understand the data structure of the integration definition, see Integrations Object.