Shorturl API PHP SDK
The OneAll API includes a custom url shortener that enables you to shorten your urls, to track trends in site registrations, returning visitors, social posts and resulting referral traffic. The corresponding reports can be viewed in the User Insights section of your account.
The URL Shortener can be used with our Advanced Sharing API as well as independent module by using the following resources.
| Resource/URI | GET | POST | PUT | DELETE |
|---|---|---|---|---|
Shorturls
/shorturls.json
|
List all Shorturls | Create a new Shorturl | – | – |
Shorturl
/shorturls/<shorturl_token>.json
|
Read details of a Shorturl | – | – | Delete a Shorturl |
The shorturl_token is a key that uniquely identifies a shortened url. Please note that the shorturl_tokens have a shorter format than the other tokens used by the OneAll API.