Create or Update a Benefit

Path Params
string
required

The unique ID from Nayya or your unique ID prefixed with the external: indicator that represents an employer (e.g. external:3438yht-hg8ht39-h23uh9th-uewht0o).

Body Params
string | null

Unique ID from Nayya used to identify a benefit

string | null

Your internal unique ID used to identify a benefit

string
required

Unique identifier for the carrier for this benefit

string | null

Name of the carrier for this benefit

string | null

Description of the benefit

string
enum
required

Type of benefit

string
required

Name of the benefit that will be visible to employees

date
required

The start date for when the plan is effective in the format: YYYY-MM-DD

date | null

The end date for when the plan is no longer effective in the format: YYYY-MM-DD. This field does not need to be provided if a plan is anticipated to roll over from year to year

string | null

URL to a benefit overview where an employee can see coverage details

string | null

Internal code used to identify this benefit

features
array of objects
required
features*
tiers
array of objects
required
tiers*
thresholds
array of objects
required
thresholds*
Headers
string
Defaults to 1

Optional API major version. Omit this header for the same behavior as 1 (this specification).

Responses

403

Forbidden

422

Unprocessable entity

429

Unable to resolve employer ID after maximum retry attempts. This may be because the employer is not yet available or due to temporary system issues. Please try again.

500

Internal server error

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json