One37ID - Business Connector JS Agent API (1.0)
Download OpenAPI specification:Download
Agent API for Business Connector JS
Create a new single-use shortened link.
Request Body schema: application/jsonrequired
requestUrl required | string The url to be shortened. |
agentBaseUrl | string The base url of the agent. |
type required | string Enum: "public-invite" "init-flow" "other" Link type. |
isOneTimeUse required | boolean Is one time resolvable. |
expiredAt | string <date-time> Expiry date. |
Responses
Request samples
- Payload
Content type
application/json
{- "requestUrl": "string",
- "agentBaseUrl": "string",
- "type": "public-invite",
- "isOneTimeUse": true,
- "expiredAt": "2019-08-24T14:15:22Z"
}
Response samples
- 201
Content type
application/json
"string"
Start the email verification process
Request Body schema: application/jsonrequired
email required | string Email address |
displayName required | string Display name |
connectionId required | string Connection Id |
Responses
Request samples
- Payload
Content type
application/json
{- "email": " [email protected]",
- "displayName": "Bob",
- "connectionId": "string"
}
Response samples
- 201
Content type
application/json
{ }
Send the proof request to the user
Request Body schema: application/jsonrequired
requestId required | string Login Request ID |
alias required | string User Alias |
issuer required | string Service Provider EntityID |
Responses
Request samples
- Payload
Content type
application/json
{- "requestId": "string",
- "alias": "string",
- "issuer": "string"
}
Response samples
- 201
Content type
application/json
{ }
Create a new metric event.
Request Body schema: application/jsonrequired
Id | string |
Job required | string |
MetricName required | string |
MetricValue required | number |
Unit required | string |
ContactIdentifier | string |
Tag | string |
Tags | Array of strings |
Created | string <date-time> Default: "2024-11-18T13:07:45.669Z" |
Responses
Request samples
- Payload
Content type
application/json
{- "Id": "string",
- "Job": "string",
- "MetricName": "string",
- "MetricValue": 0,
- "Unit": "string",
- "ContactIdentifier": "string",
- "Tag": "string",
- "Tags": [
- "string"
], - "Created": "2024-11-18T13:07:45.669Z"
}