Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

We configured a documentation for our API methods. Please contact our Delivery Managers in order to recieve access to it. https://api.wizart.ai/

You can create a bug report and ask questions via our official github repository. https://github.com/wizart-tech/api

Step 1 Receive authentication information

Please Note: for all API calls you have to use the access_token. To generate the access_token, you need to request client_secret and client_id from our Delivery Managers.

Wizart is using OAuth2 authentication. You will receive all the required information for successful authentication after requesting a Free Trial onhttp://wizart.ai .

 Example of the information you will receive

Staging PIM admin panel URL: https://pim-admin.wizart.ai/

username (your email): your_email@mail.com

password: your_password

client id: your_client_id

Step 2 Authenticate and receive an access token

In order to use our API calls, you have to use Bearer auth token. You have to do an authentication call to obtain the token.

Method: POST

URLhttps://pim-client.wizart.ai/oauth/token

Headers: Content-Type: application/json, Accept: application/json

Body in json format:

{
  "username": "your_email@mail.com",
  "password": "your_password",
  "client_secret": "your_client_secret_key",
  "client_id": your_client_id,
  "grant_type": "password"
}
 Example of the response:

{
  "token_type": "Bearer",
  "expires_in": 31536000,
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwianRpIjoiYzkzYWVjZGU5MjkxZWI4M2Y4YzgxOGU1ZjM0NTgwZWVjMzZhZWQ2MTAwZTdiZGZkZjA4M2QxNWQwYmUxM2M4YTg2ZmIwZmQ3NjY0ZjM5MzAiLCJpYXQiOjE2MDQwMzI1MTAsIm5iZiI6MTYwNDAzMjUxMCwiZXhwIjoxNjM1NTY4NTEwLCJzdWIiOiJhNWZhYjEyYS1lYzMwLTRjYWItOTQyYy0zOGIwNjc0ZDMzNTEiLCJzY29wZXMiOltdfQ.aEe8JQSLmfJYzU9-498xmv2ydO-bkES-7z1o45ExWO5FC-OAUnhAc5311SeCAyu6JZrii70bKqdUvKG5a4H1iTPvej9jMrr-RQnAQWxNaQYAvDaGJoFIsiH8hdcEP0CQQflXQG9lhExQWF2q1saWUjOuFuJfbdb_C3s7rEyDPpweyYR90fJWVkCUmaUQu75w8Ej3a9QAUAM6_yg-pmhdJ7XB5ilPhHqMauTqWHH4IwhSLDUGiX7_605ApOC1YZYGMYdgU4ajcs7TDnekJTPykFBut40W5oudHR5x41JX-au2yYTPfn_D38Qi5CGOeP86gPRb4yrV5mZuHbath7oUWHoOwZFd0CO309HADKzmIc8sDhpqVfKtUUONmVfnEx1x-rLv6Asf9KHsB-U9dM7gfxqy98vPStykBLsbu3sDmyROAXsK_nhzYc2macXICBZ8lnNNJumnQe7oG7XQZMOiD8UOP3RKl298ZMa_6jUODhk6G4BhwjxDwH-kCm71V_YB1wzKbOqV5fFyQi5sCYudAJLnUaFKtxEj_Dy83OOkTaH_6SCL_XoTUcKD3-Pbk2QhB3ZrGT0I9S_1wtU4w8PcT6ci_kVUl-8hHtmlmGsLdXQAkOwnRFUuypSFpGW6FIrPznTRJHBRBuzp1fzkQt61pe0XKJUsKKZkC3iWm2Ts7dg",
  "refresh_token": "def50200f554041fb26a6c9eadcb146cc559817da5ab86286b438f10d0fc8e16f272da616c9d0b4fc8c38971ab22de92eab66d6ded7ead1b33712a943afc0399eb9aed39b4537c5c91b46073f5a91c87398d583646a9710e0414e5f9a8026fa5ad342604bae01cd67dd78cfcebe3a39826601b62d4097d20e1ff75331e6f7e71e0d565b39bbaae6704177d75e1a0b4e4cf31316bd67d1829435eda59dbdad7eefe058e3f021dc28cf8009f7dae2041c96e4ee154b4c996c41f26fc4ab815b59404d1de6887659b0b22cb7602c64e89dbd6c5bbce3cb1cb2123584e0e4e57b0cedf0d18abe83d70d6bf914f8983ab141ad98a1571c3f11da030f23779bca0453d9b64bc3d8084437eea465c6b078dbb95c2f2790006bb638bf1d13903014cc942eecb9d6d4b0376e0d9675ccac5727390d140e608d0fb16072ad1506c22a4cc8ec878651f87d9fc66a1bd1312fdd3421829e2c297aaf4f3ded319ff9b1b716b7c5f762bfc0ddeba3fc1a205e1f1e3ad72ff724774ce0cab7f03ac5b9149e95a8fd49d3ec56f36"
}

Please Note: for all API calls you have to use the access_token. To generate the access_token, you need to request client_secret and client_id from our Delivery Managers.

  • No labels