---
title: "POST /endpoints/agents/connectors/"
method: POST
path: "/endpoints/agents/connectors/"
tags: ["endpoints"]
---

# POST /endpoints/agents/connectors/

`POST /endpoints/agents/connectors/`

Mixin to add a used_by endpoint to return a list of all objects using this object

## Request body

- AgentConnectorRequest
  - `connector_uuid` string, uuid
  - `name` string, required
  - `enabled` boolean
  - `snapshot_expiry` string
  - `auth_session_duration` string
  - `auth_terminate_session_on_expiry` boolean
  - `refresh_interval` string
  - `authorization_flow` string, uuid, nullable
  - `nss_uid_offset` integer
  - `nss_gid_offset` integer
  - `challenge_key` string, uuid, nullable
  - `challenge_idle_timeout` string
  - `challenge_trigger_check_in` boolean
  - `jwt_federation_providers` integer[]

## Response `201`

- AgentConnector
  - `connector_uuid` string, uuid
  - `name` string, required
  - `enabled` boolean
  - `component` string, required — Get object component so that we know how to edit the object
  - `verbose_name` string, required — Return object's verbose_name
  - `verbose_name_plural` string, required — Return object's plural verbose_name
  - `meta_model_name` string, required — Return internal model name
  - `snapshot_expiry` string
  - `auth_session_duration` string
  - `auth_terminate_session_on_expiry` boolean
  - `refresh_interval` string
  - `authorization_flow` string, uuid, nullable
  - `nss_uid_offset` integer
  - `nss_gid_offset` integer
  - `challenge_key` string, uuid, nullable
  - `challenge_idle_timeout` string
  - `challenge_trigger_check_in` boolean
  - `jwt_federation_providers` integer[]

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
