Custom GPTs in ChatGPT use GPT Actions (OpenAPI specs) to call external APIs, while tools like Claude Desktop use the Model Context Protocol (MCP). You can connect Connextify to ChatGPT so it can shorten links, generate QR codes, and check click counts during chats. We provide a pre-registered OAuth client (openai) so you don’t have to manually configure dynamic registration.

What you need

  • An OpenAI account with GPT builder access (ChatGPT Plus, Team, or Enterprise).
  • An active Connextify account.

Setup instructions

1. Create a new custom GPT

  1. Open ChatGPT and go to Explore GPTs → Create.
  2. Select the Configure tab.
  3. Name your GPT (e.g. Link & QR Manager).
  4. In Instructions, paste this prompt:
You are an assistant with access to Connextify for link shortening and QR code generation.
- When the user asks to shorten a URL, call the shortenUrl action.
- When they want a QR code, call generateQr.
- For click analytics, query the appropriate analytics endpoint.
Always present short links clearly as clickable markdown and show the returned QR image.

2. Add Connextify actions

  1. Scroll to the bottom of the Configure tab and click Create new action.
  2. In the Schema section, click Import from URL and enter:
    https://connextify.com/.well-known/openapi.json
    
  3. Click Import. ChatGPT parses the schema and lists available actions (shortenUrl, generateQr, listUrls, etc.).

3. Configure OAuth authentication

Next to Authentication, click the gear icon (⚙️) and select OAuth. Fill in these fields:
FieldValue
Client IDopenai
Client Secretmock-openai-client-secret
Authorization URLhttps://connextify.com/mcp/oauth/authorize
Token URLhttps://connextify.com/mcp/oauth/token
Scopeshorturl:read shorturl:create qrcode:read qrcode:create analytics:read
Token Exchange MethodDefault (POST request)
Under Privacy Policy, paste:
https://connextify.com/privacy
Click Save.

4. Test the action in the preview panel

In the Preview chat window on the right:
  1. Prompt your GPT:
    “Shorten https://github.com with the custom alias gh-link.”
  2. ChatGPT shows a Sign in with Connextify button.
  3. Click Sign in, log into Connextify, and approve the requested permissions.
  4. Once redirected back, ChatGPT executes the shortenUrl action and outputs your short link.

Available GPT actions

ActionWhat it doesExample prompt
shortenUrlShortens a URL with optional alias and UTM tags”Shorten this blog link for our newsletter”
listUrlsFetches your recent short links”List my last 5 created links”
getUrlRetrieves metadata and destination for a short link”Where does cnfy.link/summer-sale redirect to?”
generateQrGenerates a static or dynamic QR code data URL”Generate a QR code for my link”
getUserUrlStatsRetrieves account-wide click metrics”How many total clicks did our links get this week?”

Managing connected accounts

When you authorize ChatGPT via OAuth:
  • Connextify creates an isolated token pair for ChatGPT.
  • Calls made by the GPT count against your account quota.
  • You can revoke ChatGPT’s access at any time in Dashboard → Connected Apps without resetting your main account password.

Troubleshooting

This usually means the initial OAuth handshake didn’t finish. In the chat preview, ask ChatGPT to “shorten https://google.com” to trigger the login modal again.
Ensure you import from https://connextify.com/.well-known/openapi.json. If you copied and pasted raw JSON, make sure the entire file was pasted without truncation.
ChatGPT automatically refreshes expired tokens in the background using the refresh token. If ChatGPT persistently fails after several days, open Dashboard → Connected Apps, revoke the connection, and re-authenticate in the GPT preview.

Next steps

Claude & MCP Setup

Using Claude Desktop instead of ChatGPT? Configure our MCP server →

API Reference

Explore the full REST API endpoint specifications →