---
title: "POST /api/v1/integration-auth/access-token"
method: POST
path: "/api/v1/integration-auth/access-token"
tags: ["Integrations"]
---

# POST /api/v1/integration-auth/access-token

`POST /api/v1/integration-auth/access-token`

Create the integration authentication object required for syncing secrets.

## Request body

- object
  - `workspaceId` string, required — The ID of the project to create the integration auth for.
  - `integration` string, required — The slug of integration for the auth object.
  - `accessId` string — The unique authorized access ID of the external integration provider.
  - `accessToken` string — The unique authorized access token of the external integration provider.
  - `awsAssumeIamRoleArn` string, uri — The AWS IAM Role to be assumed by Infisical.
  - `url` string, uri
  - `namespace` string
  - `refreshToken` string — The refresh token for integration authorization.

## Response `200`

Default Response

- object
  - `integrationAuth` object, required
    - `id` string, uuid, required
    - `projectId` string, required
    - `integration` string, required
    - `teamId` string, nullable
    - `url` string, nullable
    - `namespace` string, nullable
    - `accountId` string, nullable
    - `metadata` unknown
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `422` — Default Response
- `500` — Default Response

---

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