---
title: "Generate Auth Secret"
method: GET
path: "/v3/{customerId}/partnerdata/authsecret/{nameofpartner}"
tags: ["Authorization"]
---

# Generate Auth Secret

`GET /v3/{customerId}/partnerdata/authsecret/{nameofpartner}`

Use the /AuthSecret endpoint if you are a client of Flinks and want to grant access for a partner to retrieve data that is processed by Flinks. This endpoint generates a unique authorization token that your partner can use to securely access Flinks APIs.

## Path parameters

- `customerId` string, required
- `nameofpartner` string, required

## Headers

- `Authorization` string

## Response `200`

Response Body

- object
  - `RequestId` string — Unique identifier for this request.
  - `PermissionId` string — Unique identifier used to revoke access to Flinks APIs by disabling the authorization token. Save this value.
  - `AuthSecret` string — The unique authorization token that your partner can use to securely access Flinks APIs.
  - `Message` string — Success message confirming the token was generated.

## Other responses

- `400` — Response Body

---

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