---
title: "GetApplicationProfileBySecretKey"
method: POST
path: "/api/Auth/GetApplicationProfileBySecretKey"
tags: ["Auth"]
---

# GetApplicationProfileBySecretKey

`POST /api/Auth/GetApplicationProfileBySecretKey`

Returns current application subscription profile information for a given application for a specific user.
You can use this method to get the current application subscription after AuthorizedByApplication returned a session.
The session will contain Id, this is the UserId you need to supply in the call.
If there are no current subscriptions for the application for the user. The method will return null (nothing)
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- AuthGetApplicationProfileBySecretKeyRequest
  - `applicationId` string, uuid — Your application Id
  - `applicationSecret` string, uuid — Your application secret key
  - `userId` string, uuid — User Id (Id field of the session)

## Response `200`

OK

- ApplicationProfileResponse — Represents Linnworks.net application subscription profile
  - `PlanTag` string — Plan Tag as defined in your Application Configuration
  - `PlanName` string — Plan Name as defined in your application Configuration
  - `ActivationDate` string, date-time — Date when the profile was signed up for, or resubscribed
  - `LastPaymentDate` string, date-time — Last Payment date
  - `NextPaymentDate` string, date-time — Next payment date
  - `ProfileExpires` string, date-time — When profile is due to expire
  - `IsProfileActive` boolean — Indicates whether the payment profile is active for the application, if this is set to false it means the customer canceled the profile but the profile is still active due last payment made in the last month.

---

[API](https://skmtc.net/linnworks/apis/authenticate-api.md) · [All operations](https://skmtc.net/linnworks/apis/authenticate-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linnworks/authenticate-api/revisions/0123569a22fb/schema)
