Discussions
How to integrate api to make my website shorten url
i want to make an app to shorten the long url into short i wonder how i can connect that to my frontend
Posted by coengineer10 about 1 month ago
New User
### I'm new to this service and I'm unsure what this site does for developers, i'm relatively new to the API's and their usage but i'm learning of them currently
Posted by tyshawnandrews3 about 1 month ago
Rebrandly links changed by Twitter (X)
When I send a tweet (on X) containing a Rebrandly link to a destination URL, it appears that X replaces the Rebrandly link with their own short URL which points directly to my destination URL, avoiding Rebrandly. Consequently, I can't count how many clicks I get. Is there a way around this?
Posted by peter about 2 months ago
Passing workspace in headers
Howdy! Why did you decide to pass the workspace_id in the header and not the parameters?
Posted by Anonymous 7 months ago
Open Graph API Calls
Hello,
I am reaching out to inquire about the safety of using Open Graph API calls, especially
```javascript
{
method: 'POST',
url: 'https://api.rebrandly.com/v1/links/'linkID'/opengraph',
headers: {
accept: 'application/json',
'content-type': 'application/json',
apikey: apikey
}
}
```
As of now, I couldn't locate any documentation related to this, and we are interested in incorporating these calls.
Could you please provide information or guidance regarding aspects of Open Graph API calls? We want to ensure that utilizing this feature poses no risks to our product.
Posted by SP 8 months ago
Get all hits from a workspace / tags on a given period of time
Hello
Before clickmeter was shutdown, I had a process in were queried daily for all the hits in a given group (a collection of links) with a custom timeframe.
Is there a way to have a similar workflow with this API?
Posted by Luis Estrada 9 months ago
Number of links-classic exceeded
I am getting the following error:
{'message': 'Number of links-classic exceeded', 'code': 'LimitExceeded', 'source': 'links-classic', 'limit': {'name': 'links-classic', 'used': 25, 'max': 25}}
just used 19/500 calls
what is the reason for this error?
Posted by Peter 9 months ago
Add Expiration Date to Short URLs
Is it possible to add an expiration date to a Short URL and or is it possible to add this date via API call? Thank you!
Posted by Adam Pettit 9 months ago
How to pass expiration time in api when creating short urls
How to pass expiration time in api when
Posted by Guru about 1 year ago
Get Monthly Click Report
Hi Rebrandly,
Can your API be enhanced to export a summary report of clicks (bonus would include a column for unique clicks) per month?
**Psuedo Code**
def startdate: \<"2021-06-11T18:18:53.000Z"> #any datetime format
def month: \<6> #6 months from startdate (e.g. Sunday, May 14, 2023)
def monthSort: "desc"
def columns: [ id, createdAt, shortUrl, destination, status, clicks, sessions, months:desc ]
**Expected Result**
| id | createdAt | shortUrl | destination | status | clicks | sessions | May | Apr | Mar | Feb | Jan | Dec |
| :------------------------------- | :----------------------- | :--------- | :---------------------- | :----------------------- | :----- | :------- | :-- | :-- | :-- | :-- | :-- | :-- |
| cd3ea03a1a17420bae892df009124c4c | 2021-06-11T18:18:53.000Z | 2021-06-11 | domain.subdomain/global | <https://www.google.com> | 120 | 120 | 20 | 40 | 20 | 10 | 10 | 20 |
Posted by Isaiah Davis about 1 year ago