Forum Discussion

nameisbk's avatar
nameisbk
New Member
10 months ago

Post Location API throws INVALID_ACCOUNT_KEY

Hi,

 

Was struggling to get my POST API to create location/phone go through it as I'm always getting "

INVALID_ACCOUNT_KEY"  even though I'm passing one which I got from the "https://api.getgo.com/admin/rest/v1/me".
Request :  URI - https://api.goto.com/voice-admin/v1/locations
Payload : 
{
    "name""xxx",
    "address": {
        "line1""xxx",
        "line2""",
        "city""xx",
        "state""xx",
        "postalCode""xx",
        "country""xx"
    },
    "accountKey""5680xxxx5842069"
}
 
Can someone please help me here?.