Zendesk Messaging and support SDK

Answered


Posted Jul 18, 2022

I'm using both Support API and Messaging SDK in my mobile and web apps. 
Use case: 

  • Create a user through API 
  • Create ticket for that user through API 
  • Continue conversation for this user about that ticket using Messaging SDK 

I managed to create a user and a ticket through the API but I can't authenticate the user before using the Messaging SDK 

Create a user

 

Create a ticket to that user

How it look like in Zendesk

 

Now I'm trying to connect this user to the agent through Messaging SDK and I need to authenticate the user first 

I'm trying to login the user but it gives me 
retrofit2.HttpException: HTTP 401 Unauthorized

This is how I generate the JWT

 

 

 

 


0

1

1 comment

Hi Mohamed,
 
When enabling JWT for Messaging have you followed the outlined setup steps, including generating the signing key from Admin Center?  Also, do you receive an error when including scope within your JWT payload?  This is a required claim.

0


Sign in to leave a comment.

Didn't find what you're looking for?

New post