Create a LinkedIn reconnect link
curl --request POST \
--url https://api.tryfuse.ai/api/v1/business/accounts/linkedin/{accountId}/reconnect-links \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"successUrl": "<string>",
"failureUrl": "<string>"
}
'import requests
url = "https://api.tryfuse.ai/api/v1/business/accounts/linkedin/{accountId}/reconnect-links"
payload = {
"successUrl": "<string>",
"failureUrl": "<string>"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({successUrl: '<string>', failureUrl: '<string>'})
};
fetch('https://api.tryfuse.ai/api/v1/business/accounts/linkedin/{accountId}/reconnect-links', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"url": "https://auth.tryfuse.ai/Vb7rLm2QxT9sWk4e"
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Sending accounts
Create a LinkedIn reconnect link
A hosted LinkedIn sign-in link that reconnects one of your seats, or one a teammate shared with you, after LinkedIn ended its session (isConnected false). Send the person to url (valid for 24 hours) to sign in to the same LinkedIn account; the seat keeps its settings and takes no new place on your plan. successUrl and failureUrl work as for a connect link. Rate limit: 20 requests per minute, 600 per day, shared by every route under /business/accounts/ except the SMTP import and its status.
Errors:
404LINKEDIN_ACCOUNT_NOT_FOUND— No LinkedIn seat with this id is yours or shared with you.422RETURN_URL_NOT_ALLOWED—successUrlorfailureUrlis not an address approved for your account.422VALIDATION_FAILED—accountIdis empty or longer than 100 characters, orsuccessUrlorfailureUrlis not an https address, or only one of them was sent.429RATE_LIMITED— The quota for the /business/accounts/ routes (20 per minute, 600 per day) is spent, or the LinkedIn service’s own per-user limit refused the call. Retry after the Retry-After / RateLimit-Reset seconds when present, else after a minute.
Requires one of the following token scopes: accounts.
POST
/
business
/
accounts
/
linkedin
/
{accountId}
/
reconnect-links
Create a LinkedIn reconnect link
curl --request POST \
--url https://api.tryfuse.ai/api/v1/business/accounts/linkedin/{accountId}/reconnect-links \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"successUrl": "<string>",
"failureUrl": "<string>"
}
'import requests
url = "https://api.tryfuse.ai/api/v1/business/accounts/linkedin/{accountId}/reconnect-links"
payload = {
"successUrl": "<string>",
"failureUrl": "<string>"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({successUrl: '<string>', failureUrl: '<string>'})
};
fetch('https://api.tryfuse.ai/api/v1/business/accounts/linkedin/{accountId}/reconnect-links', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"url": "https://auth.tryfuse.ai/Vb7rLm2QxT9sWk4e"
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Authorizations
Path Parameters
Body
application/json