boostr29 | 2019-02-04 20:53:51 UTC | #1
Testing add contact to contactlist in postman, but I keep getting a 400 Bad request.
POST /api/v2/outbound/contactlists/(contactlistid)/contacts HTTP/1.1 Host: api.mypurecloud.com Content-Type: application/json Authorization: Bearer (token) cache-control: no-cache
ININ-Correlation-Id →e4403434-4c84-47a6-a8ae-db294979d2d4
tim.smith | 2019-02-04 21:27:51 UTC | #2
I'm not seeing the trace I usually see that says why the request was invalid. What are you getting in the response body?
tim.smith | 2019-02-04 21:29:18 UTC | #3
Note that the request body is an array, not an object. I've seen several make that mistake with this API before.
system | 2019-03-07 21:29:22 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 4504