Skip to main content
Python SDK
import requests

url = 'https://api.simplex.sh/pa_create_credential'
headers = {
    'X-API-Key': 'your_api_key_here',
    'Content-Type': 'application/json'
}
data = {
    'portal': 'covermymeds',
    'name': 'cmm_production',
    'username': 'your_username',
    'password': 'your_password'
}

response = requests.post(url, headers=headers, json=data)
result = response.json()
print(f"Credential stored: {result['succeeded']}")
{
  "succeeded": true,
  "credential_id": "<string>",
  "name": "<string>"
}
Supported portals:
  • CoverMyMeds (covermymeds) — ePA for pharmacy and medical prior authorizations
  • Availity (availity) — Medical prior authorizations, member eligibility, and provider search
  • UnitedHealthcare (uhc) — Prior authorizations submitted directly to UHC

Authorizations

X-API-Key
string
header
required

Simplex API Key

Body

application/json
portal
enum<string>
required

The payer portal this credential is for. Use "covermymeds" for CoverMyMeds, "availity" for Availity, or "uhc" for UnitedHealthcare.

Available options:
covermymeds,
availity,
uhc
name
string
required

A unique name for this credential (e.g. "cmm_production").

username
string

Portal username.

password
string

Portal password. Encrypted server-side before storage.

Response

200 - application/json

Credential stored successfully

succeeded
boolean
required

Whether the credential was stored successfully.

credential_id
string

The unique ID of the stored credential.

name
string

The credential name.