user

Returns the User ID and Team ID of the user account associated with the provided access token.

get/v1/users/me

Request

  • Base URL: https://api.canva.com/rest
  • URL: https://api.canva.com/rest/v1/users/me
  • Auth: OAuth 2 (authorization code, authorization URL https://www.canva.com/api/oauth/authorize, token URL https://api.canva.com/rest/v1/oauth/token)

Response

OK

Example response

{
  "team_user": {
    "user_id": "auDAbliZ2rQNNOsUl5OLu",
    "team_id": "Oi2RJILTrKk0KRhRUZozX"
  }
}

Changes

    • warning

      added the new user_linked_to_another_idp enum value to the response property for the response status

    • warning

      added the new asset_not_ready enum value to the response property for the response status