Retrieves a gateway timeline message with a specified ID.
Gateway timeline message retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
const message = await api.gatewayAccounts .getTimelineMessage({id: 'foobar-001', messageId: 'message-202'}); console.log(message.fields.eventType);
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "type": "gateway-account-created",
- "triggeredBy": "rebilly",
- "message": "string",
- "extraData": {
- "actions": [
- {
- "action": "resend-email"
}
], - "tables": [
- {
- "type": "list",
- "title": "string",
- "footer": "string"
}
], - "author": {
- "userFullName": "string",
- "userId": "string"
}, - "mentions": {
- "@test@mail.com": "userId-1"
}, - "links": [
- {
- "resourceType": "kyc-document",
- "resourceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "placeholder": "KYC document",
}
]
}, - "occurredTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}