MENU navbar-image

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."
}
 

Request      

GET api/user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

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());

Request      

POST api/shopify/webhooks/orders_paid

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

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\": \"satterfield.yvonne@example.org\",
    \"from_name\": \"cum\",
    \"to\": [
        \"eileen43@example.com\"
    ],
    \"subject\": \"ducimus\",
    \"body\": \"autem\",
    \"cc\": [
        \"qsenger@example.org\"
    ],
    \"bcc\": [
        \"gondricka@example.net\"
    ],
    \"reply_to\": \"tate15@example.org\",
    \"reply_to_name\": \"eius\"
}"
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": "satterfield.yvonne@example.org",
    "from_name": "cum",
    "to": [
        "eileen43@example.com"
    ],
    "subject": "ducimus",
    "body": "autem",
    "cc": [
        "qsenger@example.org"
    ],
    "bcc": [
        "gondricka@example.net"
    ],
    "reply_to": "tate15@example.org",
    "reply_to_name": "eius"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/g1/mail/queue

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

from   string   

Must be a valid email address. Example: satterfield.yvonne@example.org

from_name   string  optional  

Example: cum

to   string[]   

Must be a valid email address.

subject   string   

Example: ducimus

body   string   

Example: autem

cc   string[]  optional  

Must be a valid email address.

bcc   string[]  optional  

Must be a valid email address.

reply_to   string  optional  

Must be a valid email address. Example: tate15@example.org

reply_to_name   string  optional  

Example: eius