Searches for all texts and calls attributed to a contact. Returns a list of calls and texts a contact has been involved with
643 matches
100 actions
CallFire API Documentation
100 actions
- Add contacts to a contact listPOSTv1.0.0
- Add do not contact (dnc) numbersPOSTv1.0.0
- Add recipients to a call broadcastPOSTv1.0.0
- Add recipients to a text broadcastPOSTv1.0.0
- Add sound via callPOSTv1.0.0
- Add sound via filePOSTv1.0.0
- Add sound via text-to-speechPOSTv1.0.0
- Archive text broadcastPOSTv1.0.0
- Archive voice broadcastPOSTv1.0.0
- Check for a specific keywordGETv1.0.0
- Create a call broadcastPOSTv1.0.0
- Create a caller idPOSTv1.0.0
- Create a text broadcastPOSTv1.0.0
- Create an auto replyPOSTv1.0.0
- Create api credentialsPOSTv1.0.0
- Create contact list from filePOSTv1.0.0
- Create contact listsPOSTv1.0.0
- Create contactsPOSTv1.0.0
- Create mediaPOSTv1.0.0
- Delete a contactDELETEv1.0.0
- Delete a contact from a contact listDELETEv1.0.0
- Delete a contact listDELETEv1.0.0
- Delete a specific soundDELETEv1.0.0
- Delete an auto replyDELETEv1.0.0
- Delete api credentialsDELETEv1.0.0
- Delete contacts from a contact listDELETEv1.0.0
- Delete do not contact (dnc) number. If number contains commas treat as list of numbersDELETEv1.0.0
- Delete do not contact (dnc) numbers contained in source.DELETEv1.0.0
- Disable specified API credentialsPOSTv1.0.0
- Enable specified API credentialsPOSTv1.0.0
- Find a contact's historyGETv1.0.0
- Find a keyword by idGETv1.0.0
- Find a specific api credentialGETv1.0.0
- Find a specific auto replyGETv1.0.0
- Find a specific callGETv1.0.0
- Find a specific call broadcastGETv1.0.0
- Find a specific contactGETv1.0.0
- Find a specific contact listGETv1.0.0
- Find a specific keyword lease configGETv1.0.0
- Find a specific leaseGETv1.0.0
- Find a specific leaseGETv1.0.0
- Find a specific lease configGETv1.0.0
- Find a specific orderGETv1.0.0
- Find a specific soundGETv1.0.0
- Find a specific textGETv1.0.0
- Find a specific text broadcastGETv1.0.0
- Find account detailsGETv1.0.0
- Find api credentialsGETv1.0.0
- Find auto repliesGETv1.0.0
- Find call broadcastsGETv1.0.0
- Find caller idsGETv1.0.0
- Find callsGETv1.0.0
- Find calls in a call broadcastGETv1.0.0
- Find contact listsGETv1.0.0
- Find contactsGETv1.0.0
- Find contacts in a contact listGETv1.0.0
- Find credit usageGETv1.0.0
- Find do not contact (dnc) itemsGETv1.0.0
- Find keyword lease configsGETv1.0.0
- Find keyword leasesGETv1.0.0
- Find keywordsGETv1.0.0
- Find lease configsGETv1.0.0
- Find leasesGETv1.0.0
- Find local numbersGETv1.0.0
- Find mediaGETv1.0.0
- Find number regionsGETv1.0.0
- Find ordersGETv1.0.0
- Find plan usageGETv1.0.0
- Find soundsGETv1.0.0
- Find text broadcastsGETv1.0.0
- Find textsGETv1.0.0
- Find texts in a text broadcastGETv1.0.0
- Find tollfree numbersGETv1.0.0
- Find universal do not contacts (udnc) associated with toNumberGETv1.0.0
- Get a specific mediaGETv1.0.0
- Get call mp3 recording by nameGETv1.0.0
- Get call recording by idGETv1.0.0
- Get call recording by nameGETv1.0.0
- Get call recording in mp3 formatGETv1.0.0
- Get call recordings for a callGETv1.0.0
- Get delivery reports by ad hoc criteriaGETv1.0.0
- Get do not contact (dnc)GETv1.0.0
- Get statistics on call broadcastGETv1.0.0
- Get statistics on text broadcastGETv1.0.0
- Purchase keywordsPOSTv1.0.0
- Purchase numbersPOSTv1.0.0
- Send textsPOSTv1.0.0
- Start text broadcastPOSTv1.0.0
- Start voice broadcastPOSTv1.0.0
- Stop text broadcastPOSTv1.0.0
- Stop voice broadcastPOSTv1.0.0
- Update a call broadcastPUTv1.0.0
- Update a contactPUTv1.0.0
- Update a contact listPUTv1.0.0
- Update a keyword lease configPUTv1.0.0
- Update a leasePUTv1.0.0
- Update a leasePUTv1.0.0
- Update a lease configPUTv1.0.0
- Update a text broadcastPUTv1.0.0
- Update an individual do not contact (dnc) numberPUTv1.0.0
Other/CallFire API Documentation
Find a contact's history
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
{
"type": "object",
"properties": {
"fields": {
"type": "string"
},
"id": {
"type": "integer",
"format": "int64"
},
"limit": {
"type": "integer",
"format": "int32"
},
"offset": {
"type": "integer",
"format": "int32"
}
},
"required": [
"id"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- 256
- 257
- 258
- 259
- 260
- 261
- 262
- 263
- 264
- 265
- 266
- 267
- 268
- 269
- 270
- 271
- 272
- 273
- 274
- 275
- 276
- 277
- 278
- 279
- 280
- 281
- 282
- 283
- 284
- 285
- 286
- 287
- 288
- 289
- 290
- 291
- 292
- 293
- 294
- 295
- 296
- 297
- 298
- 299
- 300
- 301
- 302
- 303
- 304
- 305
- 306
- 307
- 308
- 309
- 310
- 311
- 312
- 313
- 314
- 315
- 316
- 317
- 318
- 319
- 320
- 321
- 322
- 323
- 324
- 325
- 326
- 327
- 328
- 329
- 330
- 331
- 332
- 333
- 334
- 335
- 336
- 337
- 338
- 339
- 340
- 341
- 342
- 343
- 344
- 345
- 346
- 347
- 348
- 349
- 350
- 351
- 352
- 353
- 354
- 355
- 356
- 357
- 358
- 359
- 360
- 361
- 362
- 363
- 364
- 365
- 366
- 367
- 368
- 369
- 370
- 371
- 372
- 373
- 374
- 375
- 376
- 377
- 378
- 379
- 380
- 381
- 382
- 383
- 384
- 385
- 386
- 387
- 388
- 389
- 390
- 391
- 392
- 393
- 394
- 395
- 396
- 397
- 398
- 399
- 400
- 401
- 402
- 403
- 404
- 405
- 406
- 407
- 408
- 409
- 410
- 411
- 412
- 413
- 414
- 415
- 416
- 417
- 418
- 419
- 420
- 421
- 422
- 423
- 424
- 425
- 426
- 427
- 428
- 429
- 430
- 431
- 432
- 433
- 434
- 435
- 436
- 437
- 438
- 439
- 440
- 441
- 442
- 443
- 444
- 445
- 446
- 447
- 448
- 449
- 450
- 451
- 452
- 453
- 454
- 455
- 456
- 457
- 458
- 459
- 460
- 461
- 462
- 463
- 464
- 465
- 466
- 467
- 468
- 469
- 470
- 471
- 472
- 473
- 474
- 475
- 476
- 477
- 478
- 479
- 480
- 481
- 482
- 483
- 484
- 485
- 486
- 487
- 488
- 489
- 490
- 491
- 492
- 493
- 494
- 495
- 496
- 497
- 498
- 499
- 500
- 501
- 502
- 503
- 504
- 505
- 506
- 507
- 508
- 509
- 510
- 511
- 512
- 513
- 514
- 515
- 516
- 517
- 518
- 519
- 520
- 521
- 522
- 523
- 524
- 525
- 526
- 527
- 528
- 529
- 530
- 531
- 532
- 533
- 534
- 535
- 536
- 537
- 538
- 539
- 540
- 541
- 542
- 543
- 544
- 545
- 546
- 547
- 548
- 549
- 550
- 551
- 552
- 553
- 554
- 555
- 556
- 557
- 558
- 559
- 560
- 561
- 562
- 563
- 564
- 565
- 566
- 567
- 568
- 569
- 570
- 571
- 572
- 573
- 574
- 575
- 576
- 577
- 578
- 579
- 580
- 581
- 582
- 583
- 584
- 585
- 586
- 587
- 588
- 589
- 590
- 591
- 592
- 593
- 594
- 595
- 596
- 597
- 598
- 599
- 600
- 601
- 602
- 603
- 604
- 605
- 606
- 607
- 608
- 609
- 610
- 611
- 612
- 613
- 614
- 615
- 616
- 617
- 618
- 619
- 620
- 621
- 622
- 623
- 624
- 625
- 626
- 627
- 628
- 629
- 630
- 631
- 632
- 633
- 634
- 635
{
"type": "object",
"description": "Contains history of all calls and texts addressed to a given contact",
"properties": {
"calls": {
"type": "array",
"description": "List of Call objects addressed to a given contact",
"items": {
"type": "object",
"description": "Represents a call action sent or received by CallFire platform",
"properties": {
"agentCall": {
"type": "boolean",
"description": "An internal call to an agent"
},
"attributes": {
"type": "object",
"description": "Map of user-defined string attributes associated with an action"
},
"batchId": {
"type": "integer",
"format": "int64",
"description": "An id of contact batch associated with an action"
},
"campaignId": {
"type": "integer",
"format": "int64",
"description": "An id of broadcast associated with an action if call is sent as part of call broadcast"
},
"contact": {
"type": "object",
"description": "Represents a contact in CallFire platform. Contains info about the people you want to contact. It allows you to store a user-defined properties for each contact",
"properties": {
"deleted": {
"type": "boolean",
"description": "A deleted contact, deleted contacts are hidden from search results"
},
"externalId": {
"type": "string",
"description": "An external id of a contact for syncing with external sources"
},
"externalSystem": {
"type": "string",
"description": "External system that external id refers to"
},
"extraPhone1": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"extraPhone2": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"extraPhone3": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"firstName": {
"type": "string",
"description": "A first name of a contact"
},
"homePhone": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"id": {
"type": "integer",
"format": "int64",
"description": "An id of a contact"
},
"lastName": {
"type": "string",
"description": "A last name of a contact"
},
"mobilePhone": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"properties": {
"type": "object",
"description": "Map of user-defined string properties for contact"
},
"workPhone": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"zipcode": {
"type": "string",
"description": "A Zip code of a contact"
}
}
},
"created": {
"type": "integer",
"format": "int64",
"description": "The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT "
},
"finalCallResult": {
"type": "string",
"description": "Result of a call (LA, AM, BUSY, DNC, XFER, NO_ANS, XFER_LEG, INTERNAL_ERROR, CARRIER_ERROR, CARRIER_TEMP_ERROR, UNDIALED, SD, POSTPONED, ABANDONED, SKIPPED). See [call states and results](https://developers.callfire.com/results-responses-errors.html)",
"enum": [
"LA",
"AM",
"BUSY",
"DNC",
"XFER",
"NO_ANS",
"XFER_LEG",
"INTERNAL_ERROR",
"CARRIER_ERROR",
"CARRIER_TEMP_ERROR",
"UNDIALED",
"SD",
"POSTPONED",
"ABANDONED",
"SKIPPED"
]
},
"fromNumber": {
"type": "string",
"description": "A sender's phone number in E.164 (11-digit) format"
},
"id": {
"type": "integer",
"format": "int64",
"description": "An id of an action"
},
"inbound": {
"type": "boolean",
"description": "Is action inbound"
},
"labels": {
"type": "array",
"description": "Labels associated with action or broadcast for this action",
"items": {
"type": "string"
}
},
"modified": {
"type": "integer",
"format": "int64",
"description": "The time when the given resource was modified, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT "
},
"notes": {
"type": "array",
"description": "Notes of call added by an agent",
"items": {
"type": "object",
"description": "Represents a note which can be added to a call",
"properties": {
"created": {
"type": "integer",
"format": "int64",
"description": "The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000"
},
"text": {
"type": "string",
"description": "A text of a note"
}
}
}
},
"records": {
"type": "array",
"description": "List of call records, each record contains call details like originate time, duration, cost, notes made by agents. A single contact may have a multiple phone numbers. In this case if given call was sent as a part of broadcast with configured retry logic then each call record will contain details about attempted phone number",
"items": {
"type": "object",
"description": "Represents a call sent to a contact's number",
"properties": {
"answerTime": {
"type": "integer",
"format": "int64",
"description": "Timestamp when call was answered, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT"
},
"billedAmount": {
"type": "number",
"format": "float",
"description": "A cost of the call"
},
"callerName": {
"type": "string",
"description": "~"
},
"duration": {
"type": "integer",
"format": "int64",
"description": "Duration of the call in seconds"
},
"finishTime": {
"type": "integer",
"format": "int64",
"description": "Timestamp when call was finished, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT"
},
"id": {
"type": "integer",
"format": "int64",
"description": "An id of a call record"
},
"labels": {
"type": "array",
"description": "Labels associated with a call action",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"description": "Notes of call added by agent",
"items": {
"type": "object",
"description": "Represents a note which can be added to a call",
"properties": {
"created": {
"type": "integer",
"format": "int64",
"description": "The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000"
},
"text": {
"type": "string",
"description": "A text of a note"
}
}
}
},
"originateTime": {
"type": "integer",
"format": "int64",
"description": "A date and time (timestamp) when call was originated by CallFire platform and went to downstream provider, formatted in unix time milliseconds (read only). Example: 1473781817000 "
},
"questionResponses": {
"type": "array",
"description": "Notes of call added by an agent",
"items": {
"type": "object",
"description": "Object represents the question and client's answer, used in cloud call center / IVR campaign",
"properties": {
"question": {
"type": "string",
"description": "A text of a question"
},
"response": {
"type": "string",
"description": "Client's answer"
}
}
}
},
"recordings": {
"type": "array",
"description": "A list of voice recordings of the call",
"items": {
"type": "object",
"description": "Represents a recording of a voice call",
"properties": {
"callId": {
"type": "integer",
"format": "int64",
"description": "An id of a call action"
},
"campaignId": {
"type": "integer",
"format": "int64",
"description": "Contains broadcast id if call was sent as a part of voice broadcast"
},
"created": {
"type": "integer",
"format": "int64",
"description": "The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT"
},
"hash": {
"type": "string",
"description": "A unique string hash identifier of a recording"
},
"id": {
"type": "integer",
"format": "int64",
"description": "An id of a call recording"
},
"lengthInBytes": {
"type": "integer",
"format": "int64",
"description": "A size of a recording file in bytes"
},
"lengthInSeconds": {
"type": "integer",
"format": "int32",
"description": "Duration of a recording in seconds"
},
"mp3Url": {
"type": "string",
"description": "A public URL of a call recording"
},
"name": {
"type": "string",
"description": "A name of a recording"
},
"state": {
"type": "string",
"description": "Current state of a recording, available values: RECORDING - recording is in progress, READY - recording is ready, ERROR - error has occurred and recording can be broken",
"enum": [
"RECORDING",
"READY",
"ERROR"
]
}
}
}
},
"result": {
"type": "string",
"description": "~",
"enum": [
"LA",
"AM",
"BUSY",
"DNC",
"XFER",
"NO_ANS",
"XFER_LEG",
"INTERNAL_ERROR",
"CARRIER_ERROR",
"CARRIER_TEMP_ERROR",
"UNDIALED",
"SD",
"POSTPONED",
"ABANDONED",
"SKIPPED"
]
},
"switchId": {
"type": "string",
"description": "~"
},
"toNumber": {
"type": "string",
"description": "A phone number to which a call was addressed. Phone number in E.164 format (11-digit). Example: 12132000384"
}
}
}
},
"state": {
"type": "string",
"description": "State of an action (READY, SELECTED, CALLBACK, DISABLED, FINISHED, DNC, DUP, INVALID, TIMEOUT, PERIOD_LIMIT). See [call states and results](https://developers.callfire.com/results-responses-errors.html)",
"enum": [
"READY",
"SELECTED",
"CALLBACK",
"FINISHED",
"DISABLED",
"SKIPPED",
"DNC",
"DUP",
"INVALID",
"TIMEOUT",
"PERIOD_LIMIT",
"RESTRICTED_NUMBER"
]
},
"toNumber": {
"type": "string",
"description": "A recipient's phone number in E.164 (11-digit) format"
}
}
}
},
"id": {
"type": "integer",
"format": "int64",
"description": "An id of a contact"
},
"texts": {
"type": "array",
"description": "List of Text objects addressed to a given contact",
"items": {
"type": "object",
"description": "Represents a text action sent or received by CallFire platform",
"properties": {
"attributes": {
"type": "object",
"description": "Map of user-defined string attributes associated with an action"
},
"batchId": {
"type": "integer",
"format": "int64",
"description": "An id of contact batch associated with an action"
},
"campaignId": {
"type": "integer",
"format": "int64",
"description": "An id of broadcast if given text was sent as a part of text broadcast"
},
"contact": {
"type": "object",
"description": "Represents a contact in CallFire platform. Contains info about the people you want to contact. It allows you to store a user-defined properties for each contact",
"properties": {
"deleted": {
"type": "boolean",
"description": "A deleted contact, deleted contacts are hidden from search results"
},
"externalId": {
"type": "string",
"description": "An external id of a contact for syncing with external sources"
},
"externalSystem": {
"type": "string",
"description": "External system that external id refers to"
},
"extraPhone1": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"extraPhone2": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"extraPhone3": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"firstName": {
"type": "string",
"description": "A first name of a contact"
},
"homePhone": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"id": {
"type": "integer",
"format": "int64",
"description": "An id of a contact"
},
"lastName": {
"type": "string",
"description": "A last name of a contact"
},
"mobilePhone": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"properties": {
"type": "object",
"description": "Map of user-defined string properties for contact"
},
"workPhone": {
"type": "string",
"description": "Phone number in E.164 format (11-digit). Example: 12132000384"
},
"zipcode": {
"type": "string",
"description": "A Zip code of a contact"
}
}
},
"created": {
"type": "integer",
"format": "int64",
"description": "The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT"
},
"finalTextResult": {
"type": "string",
"description": "Result of text (SENT, RECEIVED, DNT, TOO_BIG, INTERNAL_ERROR, CARRIER_ERROR, CARRIER_TEMP_ERROR, UNDIALED). See [call states and results](https://developers.callfire.com/results-responses-errors.html)",
"enum": [
"SENT",
"RECEIVED",
"DNT",
"TOO_BIG",
"INTERNAL_ERROR",
"CARRIER_ERROR",
"CARRIER_TEMP_ERROR",
"UNDIALED",
"INVALID_NUMBER"
]
},
"fromNumber": {
"type": "string",
"description": "Sender's phone number in E.164 format (11-digit) or short code. Example: 12132000384, 67076"
},
"id": {
"type": "integer",
"format": "int64",
"description": "An id of an action"
},
"inbound": {
"type": "boolean",
"description": "An action inbound"
},
"labels": {
"type": "array",
"description": "Labels associated with an action",
"items": {
"type": "string"
}
},
"media": {
"type": "array",
"description": "~",
"items": {
"type": "object",
"description": "Represents a media file which can be added to a text message",
"properties": {
"accountId": {
"type": "integer",
"format": "int64",
"description": "~"
},
"created": {
"type": "integer",
"format": "int64",
"description": "The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000 "
},
"id": {
"type": "integer",
"format": "int64",
"description": "An id of a media file"
},
"lengthInBytes": {
"type": "integer",
"format": "int64",
"description": "A size of a media file in bytes"
},
"mediaType": {
"type": "string",
"description": "A MIME type of media file, ex: image/jpeg, image/png, video/mp4, audio/mp3, etc"
},
"name": {
"type": "string",
"description": "A name of a media file"
},
"publicUrl": {
"type": "string",
"description": "A public URL of a media file"
}
}
}
},
"message": {
"type": "string",
"description": "A text message"
},
"modified": {
"type": "integer",
"format": "int64",
"description": "The time when the given resource was modified, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT"
},
"records": {
"type": "array",
"description": "List of text records, each record contains additional details: time of sending, cost, current state. A single contact may have multiple numbers. If given text was sent as part of broadcast with configured retry logic then each text record will contain details about attempted number",
"items": {
"type": "object",
"description": "Represents a text message sent to a contact's number",
"properties": {
"billedAmount": {
"type": "number",
"format": "float",
"description": "A cost of a sent text"
},
"callerName": {
"type": "string",
"description": "~"
},
"finishTime": {
"type": "integer",
"format": "int64",
"description": "A time when the given resource was updated, formatted in unix time milliseconds (read only). Example: 1473781817000"
},
"id": {
"type": "integer",
"format": "int64",
"description": "An id of a text record"
},
"labels": {
"type": "array",
"description": "Labels associated with a text action",
"items": {
"type": "string"
}
},
"message": {
"type": "string",
"description": "A text message"
},
"switchId": {
"type": "string",
"description": "~"
},
"textResult": {
"type": "string",
"description": "Result of a text (SENT, RECEIVED, DNT, TOO_BIG, INTERNAL_ERROR, CARRIER_ERROR, CARRIER_TEMP_ERROR, UNDIALED). See [call states and results](https://developers.callfire.com/results-responses-errors.html)",
"enum": [
"SENT",
"RECEIVED",
"DNT",
"TOO_BIG",
"INTERNAL_ERROR",
"CARRIER_ERROR",
"CARRIER_TEMP_ERROR",
"UNDIALED",
"INVALID_NUMBER"
]
},
"toNumber": {
"type": "string",
"description": "An attempted phone number"
}
}
}
},
"state": {
"type": "string",
"description": "Current state of an action (READY, SELECTED, CALLBACK, DISABLED, FINISHED, DNC, DUP, INVALID, TIMEOUT, PERIOD_LIMIT). See [call states and results](https://developers.callfire.com/results-responses-errors.html)",
"enum": [
"READY",
"SELECTED",
"CALLBACK",
"FINISHED",
"DISABLED",
"SKIPPED",
"DNC",
"DUP",
"INVALID",
"TIMEOUT",
"PERIOD_LIMIT",
"RESTRICTED_NUMBER"
]
},
"toNumber": {
"type": "string",
"description": "Recipient's phone number in E.164 format (11-digit) or short code. Example: 12132000384, 67076"
}
}
}
}
}
}