[GH-ISSUE #2472] API to retrieve client's subscription URL #1702

Closed
opened 2026-10-31 20:20:33 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @da-the-dev on GitHub (Aug 11, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2472

Is your feature request related to a problem? Please describe.
I'm missing an ability to send a subscription URL for a freshly created client. I want users to create clients and be able to retrieve their subscription URL

Describe the solution you'd like
An API route to retrieve a given client's subscription URL

Describe alternatives you've considered
I've tried looking for ways to extract the subscription URL from client data, but current API does not provide any way to do so. I also tried setting the subscription field in /addClient, but the redundant fields are thrown away after being parsed.

Originally created by @da-the-dev on GitHub (Aug 11, 2024). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2472 **Is your feature request related to a problem? Please describe.** I'm missing an ability to send a subscription URL for a freshly created client. I want users to create clients and be able to retrieve their subscription URL **Describe the solution you'd like** An API route to retrieve a given client's subscription URL **Describe alternatives you've considered** I've tried looking for ways to extract the subscription URL from client data, but current API does not provide any way to do so. I also tried setting the subscription field in `/addClient`, but the redundant fields are thrown away after being parsed.
bsakaguchi 2026-10-31 20:20:33 +07:00
Author
Owner

@da-the-dev commented on GitHub (Aug 11, 2024):

Apparrently, if you set subId field in the settings for /addClient, the client works and the subscription link can be constructed from it.

However, if you don't set the subId field, the client will be created, but won't work

<!-- gh-comment-id:2282675172 --> @da-the-dev commented on GitHub (Aug 11, 2024): Apparrently, if you set `subId` field in the `settings` for `/addClient`, the client works and the subscription link can be constructed from it. However, if you don't set the `subId` field, the client will be created, but won't work
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#1702
No description provided.