---
title: "saves configuration for partner"
method: PUT
path: "/partner/configuration"
tags: ["configuration"]
---

# saves configuration for partner

`PUT /partner/configuration`

Endpoint for saving partner's configuration.

## Request body

- PartnerConfigurationRequest
  - `consentUrl` string, uri, required — Refers to Partner API: `GET /integration`. SmartRecruiters will add URL query parameters: companyId and redirect (only when `consentDisplayMode=REDIRECT`)
  - `consentDisplayMode` 'REDIRECT' | 'POPUP', required — REDIRECT: End users will leave SmartRecruiters and be redirected to the url configured in consentUrl. POPUP: End users will remain in SmartRecruiters and see a pop up widget.
  - `assessmentPackageListUrl` string, uri, required — Refers to Partner API: `GET /packages`
  - `singleAssessmentPackageUrl` string, uri, required — Refers to Partner API: `GET /packages/{assessmentPackageId}`
  - `packageOrderUrl` string, uri — Refers to Partner API: `POST /packages/orders`
  - `inlineAssessmentPackageOrderUrl` string, uri — Refers to Partner API: `POST /packages/inline/orders`
  - `oauthTokenUrl` string, uri, required — Endpoint to exchange the OAuth 2.0 credentials we received from your service for an access token to your endpoints.
  - `integrationDisableUrl` string, uri — Refers to Partner API: `DELETE com/integrations/companies/{companyId}`
  - `fields` Field[]
    - `id` string, required — Id field will be used in the URL as a HTTP request parameter name
    - `name` string, required — User friendly name of the parameter
    - `description` string, required — Description saying what is the purpose of this parameter
  - `supportedAssessmentTypes` AssessmentType[], required

## Response `200`

Configuration created

- PartnerConfiguration
  - `consentUrl` string, uri, required — Refers to Partner API: GET /integration. SmartRecruiters will add URL query parameters: companyId and redirect (only when consentDisplayMode=REDIRECT)
  - `consentDisplayMode` 'REDIRECT' | 'POPUP', required — REDIRECT: End users will leave SmartRecruiters and be redirected to the url configured in consentUrl. POPUP: End users will remain in SmartRecruiters and see a pop up widget.
  - `assessmentPackageListUrl` string, uri, required — Refers to Partner API: GET /packages
  - `singleAssessmentPackageUrl` string, uri, required — Refers to Partner API: GET /packages/{assessmentPackageId}
  - `packageOrderUrl` string, uri — Refers to Partner API: POST /packages/orders
  - `inlineAssessmentPackageOrderUrl` string, uri — Refers to Partner API: POST /packages/inline/orders
  - `oauthTokenUrl` string, uri, required — Endpoint to exchange the OAuth 2.0 credentials we received from your service for an access token to your endpoints.
  - `integrationDisableUrl` string, uri — Refers to Partner API: DELETE /integrations/companies/{companyId}
  - `fields` FieldView[]
    - `id` string
    - `name` string
    - `description` string
  - `supportedAssessmentTypes` AssessmentType[], required

## Other responses

- `400` — Invalid configuration provided
- `401` — Unauthorized request
- `403` — Request missed required scopes

---

[API](https://skmtc.net/smartrecruiters/apis/apply-api.md) · [All operations](https://skmtc.net/smartrecruiters/apis/apply-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartrecruiters/apply-api/versions/449bdc2516c9/schema)
