andy
andy

Reputation: 1

Why do I get an Invalid scope error when calling the Pre-Create App User Smooch api

I'm POSTing to the Pre-Create App User endpoint https://api.smooch.io/v1.1/apps/{appId}/appusers for smooch, using the appUser as the scope in my JWT, but I get this response:

{"error":{"code":"forbidden","description":"Invalid scope"}}

I tried the exact same JWT doing a GET to /v1.1/apps/{appId}/appusers/{userId} and that succeeded.

I did also try the app scope in case that was required for the create but not the get, but that also failed. Is there some other scope I should be using?

Upvotes: 0

Views: 647

Answers (0)

Related Questions