Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Updated Mon Feb 6th 2023, 19:36 UTC

Import

POST /:account/opt_outs/upload

You may bulk-upload a CSV of phone numbers to be Opted-Out, if you need to import them from another system.

Examples

Import a CSV

Request

POST /my_account/opt_outs/upload

Body

708-666-6666
708-555-5555
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X POST /my_account/opt_outs/upload
    -d '708-666-6666
708-555-5555'

Response

Status

204

Response Type

No body


© 2023 TextUs