POST
/connections/{connection_id}:reauthorizeAuthorization
bearerAuth AuthorizationBearer <token>
Your Maton API key, sent as Authorization: Bearer <MATON_API_KEY>. Create one at https://maton.ai/settings.
In: header
Path Parameters
connection_id*string
The connection's unique identifier.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST \ "https://api.maton.ai/connections/{connection_id}:reauthorize" \ -H "Authorization: Bearer $MATON_API_KEY" \ -H "Content-Type: application/json"{
"connection_id": "5d0c1f8e-3a2b-4c6d-8e9f-0a1b2c3d4e5f"
}{
"message": "Invalid app name.",
"type": "Bad Request",
"code": 400
}{
"message": "Invalid API key.",
"type": "Unauthorized",
"code": 401
}{
"message": "Resource not found.",
"type": "Not Found",
"code": 404
}{
"message": "Connection `5d0c1f8e-3a2b-4c6d-8e9f-0a1b2c3d4e5f` is already authorized, so it doesn't need to be reauthorized."
}{
"message": "Too many requests.",
"type": "Too Many Requests",
"code": 429
}{
"message": "Internal server error.",
"type": "Internal Server Error",
"code": 500
}