Library HttpCtrl.Client
Library HttpCtrl.Json
Set Local Variable ${HTTP_METHOD} GET # GET, POST, DELETE, ....
Set Local Variable ${MY_BASE_URL} www.robotframework.org
Set Local Variable ${URL_PATH} /path/to/my/api/call
Initialize Client ${MY_BASE_URL}
Set Request Header Authorization Bearer ${MY_TOKEN}
Set Request Header Content-Type application/json
Set Request Header Cache-Control no-cache
Send HTTPS Request ${HTTP_METHOD} ${URL_PATH}
${RESPONSE_STATUS}= Get Response Status
${RESPONSE_BODY}= Get Response Body
${RESPONSE_HEADER}= Get Response Headers
As René states - the end result depends on what API you want to use.