# Referral API

RAI Partners Referral API

Version: 1.0.8
License: Proprietary — © RAI Partners Inc. All rights reserved.

## Servers

Production
```
https://api.raipartners.com/referral
```

Sandbox
```
https://sandbox.raipartners.com/referral
```

## Security

### bearer-jwt

Type: http
Scheme: bearer
Bearer Format: JWT

## Download OpenAPI description

[Referral API](https://api-docs.raipartners.com/_bundle/apis/referral-api.yaml)

## Referral

Referral functions

### Create an application

 - [POST /application/{product-id}](https://api-docs.raipartners.com/apis/referral-api/referral/createapplication.md): Create an application with the provided data

### Get spousal notification states

 - [GET /spousal-notification-states](https://api-docs.raipartners.com/apis/referral-api/referral/getspousalnotificationstates.md): Retrieve the list of US States requiring spousal notifications

## Authentication

Authentication functions

### Rotate the client secret

 - [POST /auth/client-secret/rotation](https://api-docs.raipartners.com/apis/referral-api/authentication/rotateclientsecret.md): Rotate and returns the client secret

### Authenticate client

 - [POST /auth/token](https://api-docs.raipartners.com/apis/referral-api/authentication/authenticateclient.md): Authenticate a client and retrieve the JWT token

