Get a profile
GET
/v1/profiles/{key}
const url = 'https://api.inboxcnx.com/v1/profiles/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.inboxcnx.com/v1/profiles/example \ --header 'Authorization: Bearer <token>'Returns one profile by its key, with its retention, monthly limits and the number of grants on it.
Requires the write:application scope.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”key
required
string
Responses
Section titled “Responses”The profile
Media typeapplication/json
object
key
required
string
retentionDays
required
integer
deletedRetentionDays
required
integer | null
maxMessagesPerMonth
required
integer | null
maxStoredBytesPerMonth
required
integer | null
isDefault
required
boolean
archivedAt
required
string | null
grantCount
required
integer
createdAt
required
string
updatedAt
required
string
Example
{ "key": "pro", "retentionDays": 90, "deletedRetentionDays": 7, "maxMessagesPerMonth": 10000, "maxStoredBytesPerMonth": 5368709120, "isDefault": false, "archivedAt": null, "grantCount": 12, "createdAt": "2026-10-01T10:00:00.000Z", "updatedAt": "2026-10-01T10:00:00.000Z"}The credential lacks the write:application scope
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example generated
{ "error": { "code": "example", "message": "example" }}No such profile
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example generated
{ "error": { "code": "example", "message": "example" }}