Skip to main content

Obtain auth token

Select

SaaS

Service principal credentials (username & password) must be obtained by each partner from Metallic Admin to access Partner APIs.

Request Body required
  • username string required
  • password string required
Responses

Success


Schema
  • data object
  • data object
  • authToken string
POST /api/v1/authenticate    

Authorization

Request

Click Edit to configure Base URL
https://api.metallic.io
Bearer Token
lhAccountId — header
Body required
{
"username": "{{username}}",
"password": "{{password}}"
}
curl -L -X POST 'https://api.metallic.io/api/v1/authenticate' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"username": "{{username}}",
"password": "{{password}}"
}'