| SubscriptionCreateUser Method |
Creates a user subscription.
Namespace: InstaSharp.EndpointsAssembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax public Task<SubscriptionResponse> CreateUser(
string verifyToken = null
)
Public Function CreateUser (
Optional verifyToken As String = Nothing
) As Task(Of SubscriptionResponse)
public:
Task<SubscriptionResponse^>^ CreateUser(
String^ verifyToken = nullptr
)
member CreateUser :
?verifyToken : string
(* Defaults:
let _verifyToken = defaultArg verifyToken null
*)
-> Task<SubscriptionResponse>
Parameters
- verifyToken (Optional)
- Type: SystemString
The verify token.
Return Value
Type:
TaskSubscriptionResponseCheck the Meta Property for any errors. E.G. Meta.Code =HttpStatusCode.BadRequest, ErrorType="APISubscriptionError" and ErrorMessage="Unable to reach callback URL [url] will be set if the callback url has issues"
See Also