You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/apis/signalwire-rest/openapi.yaml
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24690,6 +24690,8 @@ components:
24690
24690
- charge
24691
24691
- charge_details
24692
24692
- created_at
24693
+
- error_message
24694
+
- error_code
24693
24695
properties:
24694
24696
id:
24695
24697
allOf:
@@ -24784,6 +24786,20 @@ components:
24784
24786
description: Date and time when the message entry was created.
24785
24787
examples:
24786
24788
- '2024-05-06T12:20:00Z'
24789
+
error_message:
24790
+
anyOf:
24791
+
- type: string
24792
+
- type: 'null'
24793
+
description: Description of the error when the message failed. Null when the message did not fail. LaML messages use the codes documented at https://signalwire.com/docs/compatibility-api/rest/error-codes.
24794
+
examples:
24795
+
- From number is not a SMS-capable phone number.
24796
+
error_code:
24797
+
anyOf:
24798
+
- type: string
24799
+
- type: 'null'
24800
+
description: Error code identifying why the message failed. Null when the message did not fail. Some Relay messages may have an `error_message` without an `error_code` — the `error_code` is a newer pattern that is not used in all Relay areas.
24801
+
examples:
24802
+
- '21601'
24787
24803
unevaluatedProperties:
24788
24804
not: {}
24789
24805
description: Response model for message log retrieve endpoint
@@ -24929,6 +24945,8 @@ components:
24929
24945
- charge
24930
24946
- charge_details
24931
24947
- created_at
24948
+
- error_message
24949
+
- error_code
24932
24950
properties:
24933
24951
id:
24934
24952
allOf:
@@ -25023,6 +25041,20 @@ components:
25023
25041
description: Date and time when the message entry was created.
25024
25042
examples:
25025
25043
- '2024-05-06T12:20:00Z'
25044
+
error_message:
25045
+
anyOf:
25046
+
- type: string
25047
+
- type: 'null'
25048
+
description: Description of the error when the message failed. Null when the message did not fail. LaML messages use the codes documented at https://signalwire.com/docs/compatibility-api/rest/error-codes.
25049
+
examples:
25050
+
- From number is not a SMS-capable phone number.
25051
+
error_code:
25052
+
anyOf:
25053
+
- type: string
25054
+
- type: 'null'
25055
+
description: Error code identifying why the message failed. Null when the message did not fail. Some Relay messages may have an `error_message` without an `error_code` — the `error_code` is a newer pattern that is not used in all Relay areas.
25056
+
examples:
25057
+
- '21601'
25026
25058
unevaluatedProperties:
25027
25059
not: {}
25028
25060
description: Message log entry with all activity details
Copy file name to clipboardExpand all lines: specs/signalwire-rest/message-api/logs/models/core.tsp
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,4 +88,12 @@ model MessageLog {
88
88
@doc("Date and time when the message entry was created.")
89
89
@example(UTC_TIME_EXAMPLE)
90
90
created_at:utcDateTime;
91
+
92
+
@doc("Description of the error when the message failed. Null when the message did not fail. LaML messages use the codes documented at https://signalwire.com/docs/compatibility-api/rest/error-codes.")
93
+
@example("From number is not a SMS-capable phone number.")
94
+
error_message:string | null;
95
+
96
+
@doc("Error code identifying why the message failed. Null when the message did not fail. Some Relay messages may have an `error_message` without an `error_code` — the `error_code` is a newer pattern that is not used in all Relay areas.")
0 commit comments