Metadata
Endpoint to add more metadata to a process or update the already existing metadata
/metadata
Endpoint:
POST {url}/metadata
🔐 Authentication
No prior authentication required; the request is validated using the auth_uuid and apiKey in the request body.
📥 Request Body
Content-Type: application/json
| Campo | Tipo | Descripción | Obligatorio | Ejemplo |
|---|---|---|---|---|
| `auth_uuid` | `string` | The authorization UUID.. | ✅ | `"01992d22-420f-7549-ba33-4fcf72954f48"` |
| `api_key` | `string` | The customer’s API Key. | ✅ | `"01992d22-420f-7549-ba33-4fcf72954f48"` |
| `metadata` | `json` | Optional. List of metadata in JSON format to add or update existing ones | ❌ | "metadata": { "contractId": "987654", "callbackToken": "123456789123456789123456789", "nuevoMetadato": "Nuevo valor" } |
Example Request
{
"auth_uuid": "UUID",
"api_key": "API_KEY",
"metadata": {
"contractId": "987654",
"callbackToken": "123456789123456789123456789"
}
}📤 Responses
✅ 200 - OK
{"message": "OK", "auth_uuid": "01a18153-0165-71c5-b112-342e6d5d403f", "metadata": { "contractId": "987654", "callbackToken": "123456789123456789123456789"r" }}
Example Response:
{
"message": "OK",
"auth_uuid": "01a18153-0165-71c5-b112-342e6d5d403f",
"metadata": {
"contractId": "987654",
"callbackToken": "123456789123456789123456789"
}
}❌ 401 - Unauthorized
Description: The client is not authorized or provided invalid credentials.
Example Response:
{
"internal_code": 401,
"message": "Not authorized"
}Updated about 1 month ago
Did this page help you?
