Skip to main content
Box Employee
May 22, 2025 9:49 AM UTC
Question

Is webhook endpoint available via JWT authentication in Python SDK?

Is it possible to create webhooks in Python SDK by authenticating via JSON web token for a custom app?

    2 replies

    Box Employee
    May 22, 2025 9:49 AM UTC

    Hello Chrissy, 

    Yes it is! Take a look at the webhook documentation in the python SDK. 

    Best, 

    Kourtney 

    Translate
    Box Employee
    May 22, 2025 9:49 AM UTC

    Hi Kourtney,

     

    Thanks!

    The link you provided, however, does not mention any authentication methods supported as far as I can tell. The client object in the snippets, when authenticating via JWT, I recieve 403 error "insufficient scope" with error description "The request requires higher privileges than provided by the access token."

    .As opposed to using 1h temporary developer token (authenticating as my personal user), I successfully create the webhooks.

    Are you sure that client.create_webhook() is supported when client is initiated using JWT?

    Kr.

    Translate