Skip to content
Notice This app is in Beta Testing We are still testing Record Sender, so features may change.
Sign in

Member platform roles — API reference

Each business member's roles on each connected app: our partners' (Performara: buyer, approver, procurement manager, receiving, AP officer; Qualitreo: quality manager, inspector, commercial, …) from their manifests, and an external app's own. Nothing stored means the derived default from the member's Record Sender role, so nothing changes until an owner or admin edits. Changes are sent to the app at once over the same signed provisioning path, audited, and shown with their sync state. Spending and approval limits stay in each app.

← All groups
GET /api/v1/members/{user_id}/platform-roles

A member's roles on every connected app

The member themselves (`me`) or an owner or admin who may manage them.

Scope: integrations:read · member_platform_roles.index

ParameterInTypeDescription
user_id *pathstringa member's user id, or me
Responses 200 · 401 · 403 · 404 · 429

200 Success

platform_roles * [MemberPlatformRole]
fields

MemberPlatformRole

always * [string]
at_least_one * boolean
catalogue * [object]
fields
description string | null
key * string
name * string
custom * boolean true when an owner or admin changed them
default * [string] the derived default for their Record Sender role
held * boolean false when their Record Sender role holds no roles there
kind * "partner" | "external"
partner_account object | null
fields
id string (uuid)
status string
platform * string
platform_name * string
roles * [string] their roles there now (changed, else the default)
rs_role * string the member's Record Sender role
sync * object
fields
applied_roles array | null
at string | null
attempts integer
error string | null
next_attempt_at string | null
status * "not_held" | "at_provisioning" | "provisioned" | "pending" | "applied" | "sent" | "not_applied" | "next_provisioning" | "retrying" | "failed"
updated_at string | null
updated_by_id string | null
updates * string
user_id * string (uuid)

401 Problem details (401)

403 Not this member and not an owner or admin

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 No such member in this business account

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

DELETE /api/v1/members/{user_id}/platform-roles/{platform}

Back to the derived default (owners and admins)

Forgets the member's roles on that app: the default from their Record Sender role applies again and is sent to the app. Audited.

Scope: integrations:write · member_platform_roles.reset

ParameterInTypeDescription
user_id *pathstringa member's user id, or me
platform *pathstringa partner's registry key (performara, qualitreo) or external:<id>
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

platform_role * MemberPlatformRole
fields

MemberPlatformRole

always * [string]
at_least_one * boolean
catalogue * [object]
fields
description string | null
key * string
name * string
custom * boolean true when an owner or admin changed them
default * [string] the derived default for their Record Sender role
held * boolean false when their Record Sender role holds no roles there
kind * "partner" | "external"
partner_account object | null
fields
id string (uuid)
status string
platform * string
platform_name * string
roles * [string] their roles there now (changed, else the default)
rs_role * string the member's Record Sender role
sync * object
fields
applied_roles array | null
at string | null
attempts integer
error string | null
next_attempt_at string | null
status * "not_held" | "at_provisioning" | "provisioned" | "pending" | "applied" | "sent" | "not_applied" | "next_provisioning" | "retrying" | "failed"
updated_at string | null
updated_by_id string | null
updates * string
user_id * string (uuid)

401 Problem details (401)

402 Problem details (402)

403 forbidden

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 not_found · unknown_platform

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 not_held

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/members/{user_id}/platform-roles/{platform}

A member's roles on one connected app

Scope: integrations:read · member_platform_roles.show

ParameterInTypeDescription
user_id *pathstringa member's user id, or me
platform *pathstringa partner's registry key (performara, qualitreo) or external:<id>
Responses 200 · 401 · 403 · 404 · 429

200 Success

platform_role * MemberPlatformRole
fields

MemberPlatformRole

always * [string]
at_least_one * boolean
catalogue * [object]
fields
description string | null
key * string
name * string
custom * boolean true when an owner or admin changed them
default * [string] the derived default for their Record Sender role
held * boolean false when their Record Sender role holds no roles there
kind * "partner" | "external"
partner_account object | null
fields
id string (uuid)
status string
platform * string
platform_name * string
roles * [string] their roles there now (changed, else the default)
rs_role * string the member's Record Sender role
sync * object
fields
applied_roles array | null
at string | null
attempts integer
error string | null
next_attempt_at string | null
status * "not_held" | "at_provisioning" | "provisioned" | "pending" | "applied" | "sent" | "not_applied" | "next_provisioning" | "retrying" | "failed"
updated_at string | null
updated_by_id string | null
updates * string
user_id * string (uuid)

401 Problem details (401)

403 forbidden

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 not_found · unknown_platform

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

PUT /api/v1/members/{user_id}/platform-roles/{platform}

Set a member's roles on one connected app (owners and admins)

Kept as the member's roles there and sent to the app now (a new Authpermit provisioning assertion and the app's provisioning endpoint, with the roles in the business org). `sync.status` says where it stands: `pending`, `applied`, `sent`, `not_applied` (the app kept its roles: it doesn't take updates yet), `next_provisioning`, `at_provisioning` (no account there yet), `retrying`, `failed`. Audited.

Scope: integrations:write · member_platform_roles.update

ParameterInTypeDescription
user_id *pathstringa member's user id, or me
platform *pathstringa partner's registry key (performara, qualitreo) or external:<id>
Request body application/json
roles * [string] the app's role keys; [] for none (unless the app needs at least one)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

platform_role * MemberPlatformRole
fields

MemberPlatformRole

always * [string]
at_least_one * boolean
catalogue * [object]
fields
description string | null
key * string
name * string
custom * boolean true when an owner or admin changed them
default * [string] the derived default for their Record Sender role
held * boolean false when their Record Sender role holds no roles there
kind * "partner" | "external"
partner_account object | null
fields
id string (uuid)
status string
platform * string
platform_name * string
roles * [string] their roles there now (changed, else the default)
rs_role * string the member's Record Sender role
sync * object
fields
applied_roles array | null
at string | null
attempts integer
error string | null
next_attempt_at string | null
status * "not_held" | "at_provisioning" | "provisioned" | "pending" | "applied" | "sent" | "not_applied" | "next_provisioning" | "retrying" | "failed"
updated_at string | null
updated_by_id string | null
updates * string
user_id * string (uuid)

401 Problem details (401)

402 Problem details (402)

403 Only owners and admins

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 not_found · unknown_platform

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 not_held — the member's Record Sender role holds no roles there

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 unknown_roles · at_least_one · invalid

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/members/{user_id}/platform-roles/{platform}/retry

Send a failed change again (owners and admins)

Scope: integrations:write · Idempotency-Key · member_platform_roles.retry

ParameterInTypeDescription
user_id *pathstringa member's user id, or me
platform *pathstringa partner's registry key (performara, qualitreo) or external:<id>
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

platform_role * MemberPlatformRole
fields

MemberPlatformRole

always * [string]
at_least_one * boolean
catalogue * [object]
fields
description string | null
key * string
name * string
custom * boolean true when an owner or admin changed them
default * [string] the derived default for their Record Sender role
held * boolean false when their Record Sender role holds no roles there
kind * "partner" | "external"
partner_account object | null
fields
id string (uuid)
status string
platform * string
platform_name * string
roles * [string] their roles there now (changed, else the default)
rs_role * string the member's Record Sender role
sync * object
fields
applied_roles array | null
at string | null
attempts integer
error string | null
next_attempt_at string | null
status * "not_held" | "at_provisioning" | "provisioned" | "pending" | "applied" | "sent" | "not_applied" | "next_provisioning" | "retrying" | "failed"
updated_at string | null
updated_by_id string | null
updates * string
user_id * string (uuid)

401 Problem details (401)

402 Problem details (402)

403 forbidden

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 not_found · unknown_platform

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 nothing_to_retry · not_held

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/platform-roles/catalogues

Every connected app's roles

Our partners' role catalogues (from their manifests) and, in a business account, its external apps' own. `defaults` maps a Record Sender role to the roles it starts with (`otherwise` for anyone else); `held_by` / `not_held_by` say which Record Sender roles can hold them; `always` the roles a Record Sender role always carries there.

Scope: integrations:read · member_platform_roles.catalogues

Responses 200 · 401 · 403 · 429

200 Success

catalogues * [PlatformRoleCatalogue]
fields

PlatformRoleCatalogue

always * object Record Sender role → role keys it always carries there
at_least_one * boolean
defaults * object Record Sender role → role keys
external_app_id string | null
held_by array | null
kind * "partner" | "external"
name * string
not_held_by * [string]
note string | null
otherwise * [string]
platform * string registry key, or external:<id>
roles * [object]
fields
description string | null
key * string
name * string
updates * "provisioning" | "first_provisioning" | "none" how a change reaches the app

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)