Skip to main content

Get user access key

GET /api/v1/Profiles/access-keys

Description

This endpoint is used to retrieve access keys for a user.

Tags: Profiles

URL:
/api/v{version}/Profiles/access-keys

ApiKey:
No API key required

Content-Type:
No request body

Query Parameters:
version: string, required
Accept-Language: header, optional, change the default response message language from English(en) to French(fr) or English(en)

Response:
Success, returns a KeyResponseResponse object containing access keys.

Error Codes:
400: Bad Request
404: Not Found

/api/v1/Profiles/access-keys

Headers

Content-TypeValue
Accept-Language

Headers

Content-TypeValue
Accepttext/plain

Response: 200

{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": {
"liveKey": `<string>`,
"testKey": `<string>`
}
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /api/v1/Profiles/access-keys \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!