| POST | /CognitoSendConfirmCodeRequest |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EmailAddress | body | string | No | |
| ConfirmationCode | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | form | CognitoUser | No | |
| Data2 | form | CognitoUser | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Total | form | int | No | |
| OpCode | form | int | No | |
| ErrorText | form | string | No | |
| RequestTime | form | string | No | |
| ResponseTime | form | string | No | |
| TotalExecutionTime | form | string | No | |
| CachedResponse | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SessionTokens | form | CognitoUserSession | No | |
| Device | form | CognitoDevice | No | |
| UserID | form | string | No | |
| Username | form | string | No | |
| UserPool | form | CognitoUserPool | No | |
| ClientID | form | string | No | |
| Status | form | string | No | |
| Attributes | form | Dictionary<string, string> | No | |
| Settings | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IdToken | form | string | No | |
| AccessToken | form | string | No | |
| RefreshToken | form | string | No | |
| ExpirationTime | form | DateTime | No | |
| IssuedTime | form | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DeviceKey | form | string | No | |
| DeviceAttributes | form | Dictionary<string, string> | No | |
| CreateDate | form | DateTime | No | |
| LastModified | form | DateTime | No | |
| LastAuthenticated | form | DateTime | No | |
| User | form | CognitoUser | No | |
| GroupDeviceKey | form | string | No | |
| DeviceSecret | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PoolID | form | string | No | |
| ClientID | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /CognitoSendConfirmCodeRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"EmailAddress":"String","ConfirmationCode":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}