---
title: "Get Ayrshare Sso Url"
method: GET
path: "/api/integrations/ayrshare/sso_url"
tags: ["v1", "integrations"]
---

# Get Ayrshare Sso Url

`GET /api/integrations/ayrshare/sso_url`

Generate a JWT SSO URL so the user can link their social accounts.

The per-user Ayrshare profile key is provisioned and persisted as a
standard ``is_managed=True`` credential by
:class:`~backend.integrations.managed_providers.ayrshare.AyrshareManagedProvider`.
This endpoint only signs a short-lived JWT pointing at the Ayrshare-
hosted social-linking page; all profile lifecycle logic lives with the
managed provider.

## Response `200`

Successful Response

- AyrshareSSOResponse
  - `sso_url` string, required — The SSO URL for Ayrshare integration
  - `expires_at` string, date-time, required — ISO timestamp when the URL expires

## Other responses

- `401` — Authentication required

---

[API](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/versions/382041c7ecb2/schema)
