Authentication
Use cid + apicode to fetch a JWT token for the Ropo One API.
Get cid and apicode from Ropo support.
Obtain a token
Fetch a token with your cid and apicode.
Use the token in the Authorization header:
Authorization: Bearer <token>
Body
AuthLogin
cidstringRequiredExample:
Customer number
1000011apicodestringRequiredExample:
Apicode
password123Responses
201
Successfull login. Token will expire in 2 hours
application/json
AuthToken
tokenstringOptionalExample:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ400
Bad request
application/json
post/token
POST /rest/token HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"cid": "1000011",
"apicode": "password123"
}{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ"
}Last updated
Was this helpful?

