Discussions

Ask a Question
Back to All

Getting 403 on "/clips" (user has no permission for clips:write)

I am a paying API customer and I am getting 403 on "/clips" (user has no permission for clips:write)

curl --request POST \
     --url https://api.d-id.com/clips \
     --header 'accept: application/json' \
     --header 'authorization: Basic REDACTED' \
     --header 'content-type: application/json' \
     --data '
{
  "script": {
    "type": "text",
    "subtitles": "false",
    "provider": {
      "type": "microsoft",
      "voice_id": "en-US-JennyMultilingualNeural"
    },
    "ssml": "false",
    "input": "Hello world!"
  },
  "config": {
    "result_format": "webm"
  },
  "presenter_config": {
    "crop": {
      "type": "rectangle"
    }
  },
  "background": {
    "color": "false"
  },
  "presenter_id": "amy-Aq6OmGZnMt",
  "driver_id": "hORBJB77ln"
}
'

RESPONSE:

403

{
"kind": "PermissionError",
"description": "user has no permission for clips:write"
}