priyanka123 the solution for this problem is to use an API Key in order to perform the register API request.
You can create an API Key in the database (generate a random string for the key), then you can use it with a header Authorization: Token theapikey; userId=1
. This will allow you to bypass the CSRF protection, as well as bypass any request limitation there might be on the endpoint.
If that solution doesn't apply to your problem, can you describe what you are developing? From where do you perform that API request?