cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

New API v2 - missing connect endpoint ?

StevenDeSaeger
Contributor
0 Kudos
392

Hi,

We have been working on a 'proof of concept' using the CAI bot platform which includes the possibility to let our solution send messages directly to the messaging channels using the API endpoint

/connect/v1/conversations/<guid>/messages

When I look through the v2 documentation I cannot find this endpoint anymore ?

Testing the endpoint with v2 gives an error.

What happened?

Did you folks drop support for this kind of interaction ? If so .. omg why ?

If not ... I hope there is an alternative endpoint then ?

Thanks,

Steven

Accepted Solutions (1)

Accepted Solutions (1)

dtephan
Advisor
Advisor
0 Kudos

Hi Steven,

the API you are looking for could be found here
https://api.sap.com/api/BotConnector_API/resource below "Messages".

The API endpoints mentioned below "Conversations", which have a slightly different purpose, are deprecated.

Hope this helps, best regards,
Stephan

StevenDeSaeger
Contributor
0 Kudos

Hi Stefan,

Thanks .. but the API documentation still mentions those are version 1 ... ('v1' in their urls).

So this is very confusing. Will they still be available then after November ?

Thanks,

Steven

dtephan
Advisor
Advisor

Hi Steven,

our API follows the semantic versioning concept. Meaning only, if an API is changed in a way that is backwards incompatible the version number will be increased. As far as I'm aware regarding /connect/v1/conversation/{conversation_id}/messages there were no changes, hence the API version of this specific endpoint will stay the same.

Best regards,
Stephan

StevenDeSaeger
Contributor
0 Kudos

Hi Stefaan,

Thanks for clarifying ... much appreciated.

Answers (0)