Describe the calling API key
curl --request GET \
--url https://app.sahlfinancial.com/api/v1/partner/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.sahlfinancial.com/api/v1/partner/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.sahlfinancial.com/api/v1/partner/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"key": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"prefix": "<string>",
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"identity_bound": true,
"last_used_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
},
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plan": "<string>",
"subscription_status": "<string>",
"scopes": [
{
"scope": "<string>",
"usable": true,
"reason": "<string>"
}
],
"environments": [
{
"name": "sandbox",
"available": true,
"blocked_by": "<string>",
"specimen_only": false
}
],
"go_live": {
"gate_enabled": true,
"approved": true,
"approved_at": "<string>",
"request_status": "<string>",
"requested_at": "<string>"
},
"rate_limits": {
"partner_per_key_per_minute": 123,
"edge_per_key_per_minute": 123,
"edge_per_ip_per_minute": 123,
"window_seconds": 123
}
}{
"detail": "Invalid or revoked API key"
}{
"detail": {
"code": "rate_limit_exceeded",
"message": "Too many calls a minute: per API key on the partner routes, or per key / per address at the edge. Wait for Retry-After."
}
}{
"detail": {
"code": "internal_error",
"message": "Unexpected error. Quote X-Request-ID to support."
}
}Describe the calling API key
Any valid API key; no scope needed.
The calling key, what it can do here, and the limits on it. Any valid key.
GET
/
v1
/
partner
/
me
Describe the calling API key
curl --request GET \
--url https://app.sahlfinancial.com/api/v1/partner/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.sahlfinancial.com/api/v1/partner/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.sahlfinancial.com/api/v1/partner/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"key": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"prefix": "<string>",
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"identity_bound": true,
"last_used_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
},
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plan": "<string>",
"subscription_status": "<string>",
"scopes": [
{
"scope": "<string>",
"usable": true,
"reason": "<string>"
}
],
"environments": [
{
"name": "sandbox",
"available": true,
"blocked_by": "<string>",
"specimen_only": false
}
],
"go_live": {
"gate_enabled": true,
"approved": true,
"approved_at": "<string>",
"request_status": "<string>",
"requested_at": "<string>"
},
"rate_limits": {
"partner_per_key_per_minute": 123,
"edge_per_key_per_minute": 123,
"edge_per_ip_per_minute": 123,
"window_seconds": 123
}
}{
"detail": "Invalid or revoked API key"
}{
"detail": {
"code": "rate_limit_exceeded",
"message": "Too many calls a minute: per API key on the partner routes, or per key / per address at the edge. Wait for Retry-After."
}
}{
"detail": {
"code": "internal_error",
"message": "Unexpected error. Quote X-Request-ID to support."
}
}Authorizations
API key created in the console. Scopes: kyc:extract, kyc:verify, kyc:eid; kyb:onboard, kyb:ice; statements:read; webhooks:manage; requests:read, requests:write; bank:read, bank:write (Growth plan, enabled per workspace by Sahl); registry:read; cases:read; scoring:read, scoring:write; policy:read, policy:write; usage:read. The Sandbox specimen routes, GET /v1/partner/me and GET /v1/partner/errors need any valid key.
Response
OK