Grant the requested consent once it's approved by the user. This will provide the requesting user (the actor) permissions to act on behalf of the user that approved the consent (the subject). Since the approving user must be logged-in, this is authorized using a user access token of the subject.
Delegated Access
Manage delegated access, which allows a user to perform actions on behalf of another user. These APIs allow logged-in users to request consent from other app users, grant consent requests, view all consents related to their account, and revoke any granted permissions.
To request delegated access, see OAuth2.0 Token.
To create a dependent user with delegated access, see Create users
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/delegated-access/consents/me/grant
- Production environment (US)https://api.transmitsecurity.io/cis/v1/delegated-access/consents/me/grant
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/delegated-access/consents/me/grant
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/delegated-access/consents/me/grant
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/delegated-access/consents/me/grant
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/delegated-access/consents/me/grant \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"consent_id": "string"
}'Request
Send a consent request to give the requesting user (the actor) permissions to act on behalf of another user (the subject) when needed. An email will be sent to the subject with a link to your consent page. The consent URI will include a query param named consent_id used to grant the consent, permissions array, and the subject's user ID as subject_id. Since this call must be initiated by a logged-in user, it's authorized using a user access token of the actor.
URI of your consent page, which the browser will redirect to when the user clicks the link in the consent email. The URI must accept the following query parameters: consent_id used to grant the consent, permissions array of permissions to present the user to approve, subject_id and actor_id. This URI must also be configured as an allowed redirect URI in the Admin Portal.
ID of the user that grants permissions to another user to act on their behalf
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/delegated-access/consents/me/request
- Production environment (US)https://api.transmitsecurity.io/cis/v1/delegated-access/consents/me/request
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/delegated-access/consents/me/request
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/delegated-access/consents/me/request
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/delegated-access/consents/me/request
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/delegated-access/consents/me/request \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"permissions": [
"string"
],
"consent_uri": "https://www.example.com/consent",
"subject_id": "string",
"consent_expiration": 0
}'- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/delegated-access/consents/me
- Production environment (US)https://api.transmitsecurity.io/cis/v1/delegated-access/consents/me
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/delegated-access/consents/me
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/delegated-access/consents/me
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/delegated-access/consents/me
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X GET \
https://api.sbx.transmitsecurity.io/cis/v1/delegated-access/consents/me \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "consents_as_actor": [ { … } ], "consents_as_subject": [ { … } ] }
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/actor
- Production environment (US)https://api.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/actor
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/actor
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/actor
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/actor
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X DELETE \
'https://api.sbx.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/actor?permissions=string&subject_id=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/subject
- Production environment (US)https://api.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/subject
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/subject
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/subject
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/subject
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X DELETE \
'https://api.sbx.transmitsecurity.io/cis/v1/delegated-access/consents/me/permissions/subject?permissions=string&actor_id=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'