GET
/
public
/
v1
/
modal-service
/
auth
/
vendors
/
{vendor-id}
curl --request GET \
  --url https://api.topsort.com/public/v1/modal-service/auth/vendors/{vendor-id}
{
  "authToken": "<string>",
  "authorized": true
}

Path Parameters

vendor-id
string
required

The ID of the vendor for which an external token will be retrieved.

Minimum length: 1

Response

200
application/json
Successful Response

The result for a vendor validation.

authorized
boolean
required

Indicates if a vendor is authorized to use the Topsort Modal API.

authToken
string

A JWT that can be used as authentication for the Topsort Modal API.