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

Updated Thu Sep 22nd 2022, 19:00 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


© 2022 TextUs