Introduction
This documentation aims to provide all the information you need to work with our API.
<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
Campaign Mediums
Display a listing of the resource.
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/campaign-mediums" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/campaign-mediums"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created resource in storage.
Example request:
curl --request POST \
"prolinks.pro/api/v1/campaign-mediums" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"name\": \"n\"
}"
const url = new URL(
"prolinks.pro/api/v1/campaign-mediums"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"name": "n"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified resource.
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/campaign-mediums/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/campaign-mediums/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified resource in storage.
Example request:
curl --request PATCH \
"prolinks.pro/api/v1/campaign-mediums/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"name\": \"n\"
}"
const url = new URL(
"prolinks.pro/api/v1/campaign-mediums/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"name": "n"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"prolinks.pro/api/v1/campaign-mediums/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/campaign-mediums/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Campaign Sources
Display a listing of the resource.
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/campaign-sources" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/campaign-sources"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created resource in storage.
Example request:
curl --request POST \
"prolinks.pro/api/v1/campaign-sources" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"name\": \"n\"
}"
const url = new URL(
"prolinks.pro/api/v1/campaign-sources"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"name": "n"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified resource.
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/campaign-sources/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/campaign-sources/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified resource in storage.
Example request:
curl --request PATCH \
"prolinks.pro/api/v1/campaign-sources/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"name\": \"n\"
}"
const url = new URL(
"prolinks.pro/api/v1/campaign-sources/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"name": "n"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"prolinks.pro/api/v1/campaign-sources/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/campaign-sources/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Domains
GET api/v1/domains
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/domains" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/domains"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/domains
Example request:
curl --request POST \
"prolinks.pro/api/v1/domains" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"name\": \"n\",
\"redirect_url\": \"http:\\/\\/crooks.biz\\/et-fugiat-sunt-nihil-accusantium\"
}"
const url = new URL(
"prolinks.pro/api/v1/domains"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"name": "n",
"redirect_url": "http:\/\/crooks.biz\/et-fugiat-sunt-nihil-accusantium"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/domains/{id}
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/domains/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/domains/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH api/v1/domains/{id}
Example request:
curl --request PATCH \
"prolinks.pro/api/v1/domains/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"name\": \"n\",
\"redirect_url\": \"http:\\/\\/crooks.biz\\/et-fugiat-sunt-nihil-accusantium\"
}"
const url = new URL(
"prolinks.pro/api/v1/domains/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"name": "n",
"redirect_url": "http:\/\/crooks.biz\/et-fugiat-sunt-nihil-accusantium"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/domains/{id}
Example request:
curl --request DELETE \
"prolinks.pro/api/v1/domains/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/domains/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Endpoints
GET api/user
Example request:
curl --request GET \
--get "prolinks.pro/api/user" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"prolinks.pro/api/user"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/user
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/user" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"prolinks.pro/api/v1/user"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Links
GET api/v1/links
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/links" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"domain_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/links"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"domain_id": 16
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/links
Example request:
curl --request POST \
"prolinks.pro/api/v1/links" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"domain_id\": 16,
\"url\": \"http:\\/\\/bailey.com\\/\",
\"slug\": \"architecto\",
\"description\": \"Eius et animi quos velit et.\",
\"tags\": [
16
],
\"campaign_source_id\": 16,
\"campaign_medium_id\": 16,
\"campaign_id\": \"architecto\",
\"campaign_name\": \"architecto\",
\"campaign_term\": \"architecto\",
\"campaign_content\": \"architecto\",
\"schedule\": false,
\"schedule_at\": \"2052-07-09\",
\"schedule_url\": \"http:\\/\\/bailey.com\\/\",
\"expires\": false,
\"expires_at\": \"2052-07-09\",
\"expires_url\": \"http:\\/\\/bailey.com\\/\",
\"protect\": true,
\"ios\": true,
\"ios_url\": \"http:\\/\\/rempel.com\\/sunt-nihil-accusantium-harum-mollitia\",
\"android\": true,
\"android_url\": \"http:\\/\\/www.considine.com\\/provident-perspiciatis-quo-omnis-nostrum-aut-adipisci-quidem\",
\"windows\": true,
\"windows_url\": \"http:\\/\\/www.dare.org\\/iure-odit-et-et-modi-ipsum-nostrum-omnis\",
\"macos\": false,
\"macos_url\": \"http:\\/\\/mclaughlin.info\\/dolores-enim-non-facere-tempora\",
\"linux\": true,
\"linux_url\": \"http:\\/\\/www.leffler.info\\/quis-adipisci-molestias-fugit-deleniti-distinctio-eum\"
}"
const url = new URL(
"prolinks.pro/api/v1/links"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"domain_id": 16,
"url": "http:\/\/bailey.com\/",
"slug": "architecto",
"description": "Eius et animi quos velit et.",
"tags": [
16
],
"campaign_source_id": 16,
"campaign_medium_id": 16,
"campaign_id": "architecto",
"campaign_name": "architecto",
"campaign_term": "architecto",
"campaign_content": "architecto",
"schedule": false,
"schedule_at": "2052-07-09",
"schedule_url": "http:\/\/bailey.com\/",
"expires": false,
"expires_at": "2052-07-09",
"expires_url": "http:\/\/bailey.com\/",
"protect": true,
"ios": true,
"ios_url": "http:\/\/rempel.com\/sunt-nihil-accusantium-harum-mollitia",
"android": true,
"android_url": "http:\/\/www.considine.com\/provident-perspiciatis-quo-omnis-nostrum-aut-adipisci-quidem",
"windows": true,
"windows_url": "http:\/\/www.dare.org\/iure-odit-et-et-modi-ipsum-nostrum-omnis",
"macos": false,
"macos_url": "http:\/\/mclaughlin.info\/dolores-enim-non-facere-tempora",
"linux": true,
"linux_url": "http:\/\/www.leffler.info\/quis-adipisci-molestias-fugit-deleniti-distinctio-eum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/links/{id}
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/links/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"domain_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/links/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"domain_id": 16
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/links/{link_id}/qr-code
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/links/16/qr-code" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"prolinks.pro/api/v1/links/16/qr-code"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/links/{link_id}/clicks
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/links/16/clicks" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/links/16/clicks"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH api/v1/links/{id}
Example request:
curl --request PATCH \
"prolinks.pro/api/v1/links/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"domain_id\": 16,
\"url\": \"http:\\/\\/bailey.com\\/\",
\"slug\": \"architecto\",
\"description\": \"Eius et animi quos velit et.\",
\"is_active\": false,
\"tags\": [
16
],
\"campaign_source_id\": 16,
\"campaign_medium_id\": 16,
\"campaign_id\": \"architecto\",
\"campaign_name\": \"architecto\",
\"campaign_term\": \"architecto\",
\"campaign_content\": \"architecto\",
\"schedule\": true,
\"schedule_at\": \"2052-07-09\",
\"schedule_url\": \"http:\\/\\/bailey.com\\/\",
\"expires\": true,
\"expires_at\": \"2052-07-09\",
\"expires_url\": \"http:\\/\\/bailey.com\\/\",
\"protect\": true,
\"ios\": false,
\"ios_url\": \"http:\\/\\/rempel.com\\/sunt-nihil-accusantium-harum-mollitia\",
\"android\": false,
\"android_url\": \"http:\\/\\/www.considine.com\\/provident-perspiciatis-quo-omnis-nostrum-aut-adipisci-quidem\",
\"windows\": false,
\"windows_url\": \"http:\\/\\/www.dare.org\\/iure-odit-et-et-modi-ipsum-nostrum-omnis\",
\"macos\": false,
\"macos_url\": \"http:\\/\\/mclaughlin.info\\/dolores-enim-non-facere-tempora\",
\"linux\": true,
\"linux_url\": \"http:\\/\\/www.leffler.info\\/quis-adipisci-molestias-fugit-deleniti-distinctio-eum\"
}"
const url = new URL(
"prolinks.pro/api/v1/links/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"domain_id": 16,
"url": "http:\/\/bailey.com\/",
"slug": "architecto",
"description": "Eius et animi quos velit et.",
"is_active": false,
"tags": [
16
],
"campaign_source_id": 16,
"campaign_medium_id": 16,
"campaign_id": "architecto",
"campaign_name": "architecto",
"campaign_term": "architecto",
"campaign_content": "architecto",
"schedule": true,
"schedule_at": "2052-07-09",
"schedule_url": "http:\/\/bailey.com\/",
"expires": true,
"expires_at": "2052-07-09",
"expires_url": "http:\/\/bailey.com\/",
"protect": true,
"ios": false,
"ios_url": "http:\/\/rempel.com\/sunt-nihil-accusantium-harum-mollitia",
"android": false,
"android_url": "http:\/\/www.considine.com\/provident-perspiciatis-quo-omnis-nostrum-aut-adipisci-quidem",
"windows": false,
"windows_url": "http:\/\/www.dare.org\/iure-odit-et-et-modi-ipsum-nostrum-omnis",
"macos": false,
"macos_url": "http:\/\/mclaughlin.info\/dolores-enim-non-facere-tempora",
"linux": true,
"linux_url": "http:\/\/www.leffler.info\/quis-adipisci-molestias-fugit-deleniti-distinctio-eum"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/links/{id}
Example request:
curl --request DELETE \
"prolinks.pro/api/v1/links/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organization_id\": 16,
\"domain_id\": 16
}"
const url = new URL(
"prolinks.pro/api/v1/links/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organization_id": 16,
"domain_id": 16
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Organizations
GET api/v1/organizations
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/organizations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"prolinks.pro/api/v1/organizations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/organizations/{id}
Example request:
curl --request GET \
--get "prolinks.pro/api/v1/organizations/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"prolinks.pro/api/v1/organizations/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Tags
GET api/v1/tags
POST api/v1/tags
GET api/v1/tags/{id}
PATCH api/v1/tags/{id}
DELETE api/v1/tags/{id}