Skip to Content
DocsAuthentication

Authentication

Credentials

To access the Ratify API programmatically, you will need to configure your client with the correct credentials. Make a copy of your CLIENT-ID, userName, and apiKey and paste them into their respective Client and Authorization locations.

  • Go to the API Keys section
  • Make a copy of your CLIENT-ID
  • Make a copy of your userName and apiKey

API Request

curl -i 'https://api.ratifyai.in/auth/v1/login' \ --header 'CLIENT-ID: <YOUR_CLIENT_ID>' \ --header 'Content-Type: application/json' \ --data '{ "userName":"<string>", "apiKey":"<string>" }'

API Response

HTTP/1.1 200 Vary: Origin Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers X-Content-Type-Options: nosniff X-XSS-Protection: 0 { "token": "<string>", "type": "<string>", "id": "<string>", }