SJAUTH
Home My Account Login Signup API Docs

API Docs -- Possible Endpoints

Endpoint Method Required Scopes Description
/api/me GET username and/or email This endpoint returns the user's username. If the email:read scope is enabled, it will also return the user's email.
/api/connections GET connections This endpoint returns a list of services comprising of services that the user has authorized.
/api/mailing_lists GET mailing_lists:read This endpoint returns a list comprising of the mailing lists that a user has subscribed to.
/api/mailing_lists POST mailing_lists:write This endpoint allows the client application to modfiy the subscriptions of a user. Valid options are SJURL, Minimalist, or SJAUTH. The POST body should also include a key called mailing_lists, with the value of a list that should be used to update user subscriptions.
https://sjurl.tk/api/add POST sjurl:add This scope allows you to shorten a URL on a user's behalf with SJURL.
https://sjurl.tk/api/me GET sjurl:me This scope allows you to view a user's shortened links with SJURL.
https://sjurl.tk/api/edit POST sjurl:edit This scope allows you to edit a shortened URL on a user's behalf with SJURL.
https://sjurl.tk/api/delete POST sjurl:delete This scope allows you to delete a shortened URL on a user's behalf with SJURL.
https://sjurl.tk/api/details GET sjurl:details This scope allows you to view a shortened URL's tracking details with SJURL.