curl --request GET \
--url https://wisepim.com/api/public/v1/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://wisepim.com/api/public/v1/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://wisepim.com/api/public/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"key": {
"id": "<string>",
"name": "<string>",
"key_prefix": "<string>",
"scopes": [
"<string>"
],
"rate_limit_per_minute": 123,
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"last_used_at": "2023-11-07T05:31:56Z"
},
"project": {
"id": 123,
"name": "<string>",
"primary_locale": "<string>",
"available_locales": [
"<string>"
]
}
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}Describe the calling key
GET /me on the WISEPIM Public API: the key you authenticated with, its scopes and rate limit, and the project it is bound to. Needs no scope.
curl --request GET \
--url https://wisepim.com/api/public/v1/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://wisepim.com/api/public/v1/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://wisepim.com/api/public/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"key": {
"id": "<string>",
"name": "<string>",
"key_prefix": "<string>",
"scopes": [
"<string>"
],
"rate_limit_per_minute": 123,
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"last_used_at": "2023-11-07T05:31:56Z"
},
"project": {
"id": 123,
"name": "<string>",
"primary_locale": "<string>",
"available_locales": [
"<string>"
]
}
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}Authorizations
Send a project API key as Authorization: Bearer wpk_.... Create keys under Settings > API Access in the WISEPIM app (project owners and admins). A key is bound to one project and to the scopes chosen when it was created; scopes cannot be widened afterwards. Scopes: project:read - Read the project's name, languages, industry and limits.; products:read - List and read products, including attribute values and category ids.; products:write - Create and update products: names, descriptions, identifiers, prices, SEO fields, categories and attribute values.; categories:read - List and read the project's category tree.; attributes:read - List and read the project's attribute definitions.

