Skip to Content
ZITADEL Docs
APIsCore ResourcesV2User

Retrieve the information returned by the identity provider

Retrieve the information returned by the identity provider for registration or updating an existing user with new information..

POST
/v2/idp_intents/{idp_intent_id}

Path Parameters

idp_intent_id*idp_intent_id

Request Body

application/json
  1. body
idpIntentToken?idp_intent_token

Response Body

Success

application/json
  1. response
details?
idpInformation?||
userId?user_id
addHumanUser?|
updateHumanUser?Deprecated

Deprecated: use user_action.update_user instead.

createUser*|
Example Request
curl -X POST 'https://example.com/v2/idp_intents/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "details": {    "sequence": 0,    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string",    "creationDate": "2023-01-15T01:30:15.01Z"  },  "idpInformation": {    "idpId": "string",    "userId": "string",    "userName": "string",    "rawInformation": {      "property1": null,      "property2": null    },    "ldap": {      "attributes": {        "property1": null,        "property2": null      }    }  },  "userId": "string",  "addHumanUser": {    "userId": "string",    "username": "string",    "organization": {      "orgDomain": "string"    },    "profile": {      "givenName": "string",      "familyName": "string",      "nickName": "string",      "displayName": "string",      "preferredLanguage": "string",      "gender": "GENDER_UNSPECIFIED"    },    "email": {      "email": "string",      "isVerified": true    },    "phone": {      "phone": "string",      "isVerified": true    },    "metadata": [      {        "key": "string",        "value": "string"      }    ],    "idpLinks": [      {        "idpId": "string",        "userId": "string",        "userName": "string"      }    ],    "totpSecret": "string",    "hashedPassword": {      "hash": "string",      "changeRequired": true    }  },  "updateHumanUser": {    "userId": "string",    "username": "string",    "profile": {      "givenName": "string",      "familyName": "string",      "nickName": "string",      "displayName": "string",      "preferredLanguage": "string",      "gender": "GENDER_UNSPECIFIED"    },    "email": {      "email": "string",      "isVerified": true    },    "phone": {      "phone": "string",      "isVerified": true    },    "password": {      "hashedPassword": {        "hash": "string",        "changeRequired": true      },      "currentPassword": "string"    }  },  "createUser": {    "organizationId": "string",    "userId": "string",    "username": "string",    "metadata": [      {        "key": "string",        "value": "string"      }    ],    "human": {      "profile": {        "givenName": "string",        "familyName": "string",        "nickName": "string",        "displayName": "string",        "preferredLanguage": "string",        "gender": "GENDER_UNSPECIFIED"      },      "email": {        "email": "string",        "isVerified": true      },      "phone": {        "phone": "string",        "isVerified": true      },      "idpLinks": [        {          "idpId": "string",          "userId": "string",          "userName": "string"        }      ],      "totpSecret": "string",      "metadata": [        {          "key": "string",          "value": "string"        }      ],      "hashedPassword": {        "hash": "string",        "changeRequired": true      }    }  }}

Was this page helpful?