Introduction
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
This API is not authenticated.
Endpoints
GET api/user
Example request:
curl --request GET \
--get "https://api-imp-services.impconcursos.com.br/api/user" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://api-imp-services.impconcursos.com.br/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.
POST api/shopify/webhooks/orders_paid
Example request:
curl --request POST \
"https://api-imp-services.impconcursos.com.br/api/shopify/webhooks/orders_paid" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://api-imp-services.impconcursos.com.br/api/shopify/webhooks/orders_paid"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).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.
POST api/g1/mail/queue
Example request:
curl --request POST \
"https://api-imp-services.impconcursos.com.br/api/g1/mail/queue" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"from\": \"libbie.williamson@example.com\",
\"from_name\": \"a\",
\"to\": [
\"jgutmann@example.net\"
],
\"subject\": \"ipsum\",
\"body\": \"odit\",
\"cc\": [
\"mcdermott.sasha@example.org\"
],
\"bcc\": [
\"clang@example.net\"
],
\"reply_to\": \"mayer.cecil@example.com\",
\"reply_to_name\": \"perferendis\"
}"
const url = new URL(
"https://api-imp-services.impconcursos.com.br/api/g1/mail/queue"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"from": "libbie.williamson@example.com",
"from_name": "a",
"to": [
"jgutmann@example.net"
],
"subject": "ipsum",
"body": "odit",
"cc": [
"mcdermott.sasha@example.org"
],
"bcc": [
"clang@example.net"
],
"reply_to": "mayer.cecil@example.com",
"reply_to_name": "perferendis"
};
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.