Create a Telegram invite link
Give a customer a fresh link to the Telegram group or channel their order grants.
When a customer's Telegram invite link has expired or was already used, create a new one and send it to them yourself. Each link admits one person and stops working 24 hours after it is created. SellApp saves the newest link on the order but does not message the customer. An order that was refunded, disputed or voided no longer gets new links.
You can create up to three links for each product of an order in 24 hours. Send an Idempotency-Key, and reuse it with the same body if you retry after a lost response, so the retry returns the first link instead of using up another one.
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
order*integerThe order identifier.
Idempotency-Key*stringReuse this key only for an identical retry. A replay returns Idempotent-Replayed: true.
1 <= length <= 255X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
application/json- body
variant_id?|The purchased product variant whose Telegram access needs a new link, as in line_items[].product_variant_id. Required only when the order grants Telegram access for more than one product.
1 <= valueCreated.
application/json- response
data*curl -X POST 'https://sell.app/api/v2/orders/9001/telegram-invites' \ -H 'Idempotency-Key: project-library-2026-09-04' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "variant_id": 4321}'{ "data": { "order_id": 9001, "variant_id": 4321, "invite_link": "https://t.me/+R4nD0mInv1teC0de" }}