# Course

For a better understanding and quick development, CJ offers a step-by-step tutorial for you to build the application that interacts with your business. The steps are:

    1. Find the Token;
    1. Debug the API.

# Find the CJ-Access-Token

Obtain CJ Access Token URL

Login on cjdropshipping.com > My CJ > Authorization > API > API Key img.png

# Debug the API

After having the token, you can debug the API as follows. Here is an example to debug the API by sending a message to CJ.

The whole process it to post an http request to CJ backend before you formally develop it. We use postman as an example. You can also use other http simulation tools.

Request method: POST (HTTPS)
Request address: https://developers.cjdropshipping.com/api2.0/

The post parameters are the access_token and the message body.

curl --location --request POST 'https://developers.cjdropshipping.com/api2.0/' \
                --header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxx' \
                --header 'Content-Type: application/json' \
                --data-raw '{
                
                }'

The access_token generated by the system, is the credential for the application to call the API. img.png

Once sent successfully, a text message will be received in the corresponding application in the recipient's API.