---
title: Partner Login API
slug: generic-onboarding/partner-login-api
description: Learn how to log in to an API and generate an access token with this comprehensive document. It includes step-by-step instructions, a sample login request, and a sample response with the generated access token. Discover the key fields to focus on, includi
createdAt: 2023-07-28T08:57:20.261Z
---

## Introduction

The partner will log in to this API using the credentials and generate the access token to make further API calls. Once the access token is generated, the partner will create a merchant to initiate the KYC journey.

## Sample Request

::::Tabs
:::Tab{title="Preproduction"}
```curl
curl --location 'Login API URL' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username": "..username..",
    "password": "..password.."
}'
```
:::
::::

## Request Field Description

| **Key**      | **Required/Optional** | **Data Type** | **Description**                                                             |
| ------------ | --------------------- | ------------- | --------------------------------------------------------------------------- |
| **Header**   |                       |               |                                                                             |
| Content-Type | Required              | string        | application/json                                                            |
| **Body**     |                       |               |                                                                             |
| username     | Required              | string        | Username of the partner created within the Realm of the GO Platform.        |
| password     | Required              | string        | The corresponding password of the username to be used for successful login. |

## Sample Response

```json
{
"userId": "64********ca",
"id": "ey*****************dQ",
"ttl": epoch format
}
```

## Response Field Description

| **Key** | **Data Type** | **Description**                                                                                                           |
| ------- | ------------- | ------------------------------------------------------------------------------------------------------------------------- |
| userId  | string        | The ID of the user                                                                                                        |
| id      | string        | This is your access token to be passed into other endpoints as an Authorization header                                    |
| ttl     | string        | \*\*Time to live\*\* for your token, which means for how much time this token will be valid from the time of the creation |

:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](#).
:::

