Skip to main content
POST
/
user-credentials
Create User Credential
curl --request POST \
  --url https://api.dev.opencorpus.ai/user-credentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "service_type": "<string>",
  "api_key": "<string>",
  "name": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
service_type
string
required
api_key
string
required
name
string | null

Response

Successful Response